home *** CD-ROM | disk | FTP | other *** search
/ Programming Sound Cards / Programming Sound Cards.iso / sound_16 / cd-box.doc < prev    next >
Text File  |  1995-01-01  |  106KB  |  2,693 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                  CD-Box(TM) v3.03
  7.                                   User's manual
  8.  
  9.  
  10.  
  11.  
  12.  
  13.        If you're viewing this  from CD-Box, press  C to display  the table of
  14.    contents, P to jump to a specific page, and the arrow keys to move around.
  15.    Press Esc anytime to return to CD-Box.
  16.        This documentation has been compressed to cut down on archive size and
  17.    transmission time and costs. Some chapters have been removed or condensed.
  18.    It is  nevertheless more  than enough  for  normal use;  nothing  vital is
  19.    missing. The full documentation is included  on the registration disk (see
  20.    page 38).
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                               (C) Jeffrey Belt, 1993
  67.                                All rights reserved
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.                                _______
  97.                           ____|__     |               (R)
  98.                        --|       |    |-------------------
  99.                          |   ____|__  |  Association of
  100.                          |  |       |_|  Shareware
  101.                          |__|   o   |    Professionals
  102.                        -----|   |   |---------------------
  103.                             |___|___|    MEMBER
  104.  
  105.        "Jeffrey  Belt   is  a   member  of   the  Association   of  Shareware
  106.    Professionals (ASP). ASP wants  to make sure that  the shareware principle
  107.    works for you.  If you are  unable to resolve  a shareware-related problem
  108.    with an ASP member by contacting  the member directly, ASP  may be able to
  109.    help. The ASP Ombudsman can help you resolve  a dispute or problem with an
  110.    ASP member, but does not provide  technical support for members' products.
  111.    Please write to the ASP Ombudsman at  545 Grover Road, Muskegon, MI 49442-
  112.    9427 USA, FAX  616-788-2765 or  send a  Compuserve message  via CompuServe
  113.    Mail to ASP Ombudsman 70007,3536"
  114.  
  115.  
  116.  
  117.  
  118.    CD-Box v3.03                                                         Page 5
  119.  
  120.                                    CD-BOX V3.03
  121.                                 TABLE OF CONTENTS
  122.  
  123.      A. INTRODUCTION ......................................................7
  124.           1. If the meaning of a word escapes you... ......................7
  125.           2. What CD-Box is ...............................................7
  126.      B. INSTALLATION ......................................................9
  127.           1. First time around (quick start) ..............................9
  128.           2. Complete installation ........................................9
  129.      C. HOW TO USE CD-BOX .................................................11
  130.           1. Let's start with the basics ..................................11
  131.           2. Select mode ..................................................11
  132.           3. Play mode ....................................................12
  133.           4. Modify mode ..................................................13
  134.           5. Goto mode ....................................................14
  135.           6. Files mode ...................................................14
  136.           7. Debug mode ...................................................14
  137.      D. HOW CD-BOX WORKS ..................................................16
  138.           1. Programs you need for each format ............................16
  139.           2. Adding and removing songs ....................................17
  140.           3. Saving memory ................................................18
  141.           4. How CD-Box plays songs .......................................18
  142.           5. Details on .ARC, .ARJ, .PAK and .ZIP archives ................19
  143.                a. When does  CD-Box  uncompress  the songs  stored  in
  144.                        archives? ..........................................19
  145.                b. Where are files exploded to? ............................19
  146.                c. What programs are necessary  to take full  advantage
  147.                        of this feature? ...................................19
  148.           6. Dual support .................................................20
  149.      E. KEYBOARD COMMANDS .................................................21
  150.      F. CD-BOX.CFG ........................................................22
  151.           1. The purpose of CD-BOX.CFG ....................................22
  152.           2. Syntax .......................................................22
  153.                a. Comments ................................................22
  154.                b. Parameter settings ......................................22
  155.                c. Section identifiers .....................................23
  156.           3. Command reference ............................................23
  157.                a. System parameters .......................................23
  158.                b. Archiver parameters .....................................24
  159.                c. External drivers and players ............................25
  160.                d. Support for other song formats ..........................27
  161.      G. ADVANCED USE ......................................................28
  162.           1. Command-line parameters ......................................28
  163.      H. TROUBLE-SHOOTING ..................................................30
  164.           1. Common problems ..............................................30
  165.                a. Crashes during song analysis ............................30
  166.                b. Refusal to play certain songs ...........................30
  167.                c. Trouble with .MODs ......................................32
  168.                d. Hardware trouble ........................................33
  169.           2. Debugging switch /D ..........................................34
  170.      I. REGISTERING CD-BOX ................................................38
  171.           1. What is shareware? ...........................................38
  172.           2. Why register? ................................................38
  173.           3. How to register CD-Box .......................................39
  174.           4. Support ......................................................40
  175.           5. Bugs? What bugs? .............................................40
  176.           6. Viruses and similar nasty programs ...........................41
  177.      J. GLOSSARY ..........................................................42
  178.      K. EXTERNAL DRIVERS AND PLAYERS ......................................45
  179.      L. TECHNICAL NOTES ...................................................46
  180.           1. A word on files ..............................................46
  181.           2. Sound formats ................................................46
  182.      M. THANKS ............................................................47
  183.  
  184.  
  185.  
  186.    CD-Box v3.03                                                         Page 6
  187.  
  188.      N. LICENSE & ABSENCE OF WARRANTY .....................................48
  189.           1. Disclaimer ...................................................48
  190.           2. Trial use license ............................................48
  191.           3. Permanent license ............................................48
  192.  
  193.  
  194.  
  195.    CD-Box v3.03                                                         Page 7
  196.  
  197.    A.  INTRODUCTION
  198.  
  199.  
  200.  
  201.  
  202.  
  203.    ___________________________________________
  204.    1.  If the meaning of a word escapes you...
  205.  
  206.        .... then don't  hesitate to  peek at the  glossary (page   42). You'll
  207.    find explanations on DOS  functions that CD-Box uses  (which may be useful
  208.    to inexperienced users), and the definition  of terms more specific to CD-
  209.    Box.
  210.        In any  case, don't  worry. CD-Box  is  very simple  to use,  and this
  211.    documentation tries to be clear too!
  212.  
  213.  
  214.    __________________
  215.    2.  What CD-Box is
  216.  
  217.        CD-Box is, stated  simply, a program  which plays back  music files of
  218.    various formats on the  AdLib Music Synthetizer Card  and the SoundBlaster
  219.    card. It offers a common interface,  somewhat like a jukebox, whatever the
  220.    format. CD-Box treats all the  same way. Moreover, it  is also very pretty
  221.    and fun to use - it runs in 256 colors and can use your mouse.
  222.        CD-Box's main features:
  223.  
  224.            o  A pretty interface and  fun animation: CDs pop  up and down  and
  225.    start and stop spinning, pages scroll...  including random events I'll let
  226.    you discover!
  227.  
  228.  
  229.            o  Support for  .CMF, .MID,  .MOD, .MUS,  .ROL, .VOC,  .WAV  (.CMF,
  230.    .MOD, .VOC  and .WAV  files work  with  SoundBlaster only)  and  any other
  231.    format you define in multiple drives and directories. These files can also
  232.    be stored in .ARC, .ARJ, .PAK and/or .ZIP  archives to save disk space CD-
  233.    Box will find them  and play them from  the archive (using a  RAM drive if
  234.    you want). .MOD, .VOC and .WAV also have volume control, skipping backward
  235.    and forward within the song, and echo effects.
  236.  
  237.  
  238.            o  CD-Box allows you  to easily program  a selection  of songs;  it
  239.    waits for you to select the songs you want to hear before starting to play
  240.    the first one.
  241.  
  242.  
  243.            o  Instead of selecting  songs, you can  tell CD-Box  how long  you
  244.    want the playback to last, and it will automatically select songs for you.
  245.    You can even do that from the DOS command line  (or a batch file), and CD-
  246.    Box will play the songs, then exit right back to DOS.
  247.  
  248.  
  249.            o  CD-Box makes it easy to choose  files in which to pick songs  so
  250.    if you  compressed  your songs  by  category, you  can  tell  CD-Box which
  251.    categories to use!
  252.  
  253.  
  254.            o  No data file to keep to date; bank filenames and song titles can
  255.    be modified directly  from CD-Box, which  will save your  changes to disk.
  256.    CD-Box also knows the  titles and lengths  of numerous songs,  and when it
  257.    encounters unknown songs, can sometimes (it depends on the format) extract
  258.    data from the files on disk.
  259.  
  260.  
  261.  
  262.    CD-Box v3.03                                                         Page 8
  263.  
  264.            o  CD-Box can  use EMS  and XMS  to  some extent,  and is  able  to
  265.    examine the SOUND environment  variable and of loading  drivers and player
  266.    programs from there if necessary (as any good SoundBlaster software should
  267.    do).
  268.  
  269.  
  270.  
  271.    CD-Box v3.03                                                         Page 9
  272.  
  273.    B.  INSTALLATION
  274.  
  275.  
  276.  
  277.  
  278.    ________
  279.    Hardware
  280.  
  281.        You must have  a VGA  display and  an AdLib  or SoundBlaster  card (or
  282.    better) - a hard disk and a mouse are also highly recommended.
  283.  
  284.  
  285.    ___________________________________
  286.    1.  First time around (quick start)
  287.  
  288.        If you want to try CD-Box quickly, create a directory, extract all the
  289.    files from CDBOX303 into this directory, type RUNME, and press Enter.
  290.  
  291.  
  292.    _________________________
  293.    2.  Complete installation
  294.  
  295.        This part gives more  details on the installation,  and gives hints on
  296.    what you have to for CD-Box to play ALL song formats.
  297.  
  298.    __________________
  299.    Create a directory
  300.  
  301.        I suggest CD-BOX,  but you  are free to  use another  name. Go  to the
  302.    (future) parent directory and type:
  303.  
  304.  
  305.  
  306.    MKDIR CD-BOX
  307.  
  308.  
  309.  
  310.        Then go to the created directory:
  311.  
  312.  
  313.  
  314.    CHDIR CD-BOX
  315.  
  316.  
  317.  
  318.  
  319.    _____________________
  320.    Put in this directory
  321.  
  322.  
  323.            o  the files CD-BOX.EXE and CD-BOX.CFG.
  324.  
  325.  
  326.            o  all music files  you can find  (files with  the extension  .CMF,
  327.    .MID, .MOD,  .MUS,  .ROL,  .VOC and  .WAV).  Instead  of  using  the files
  328.    themselves, you  can put  archives (.ARC,  .ARJ,  .PAK and/or  .ZIP) which
  329.    contain these  files.  Putting  in  the  directory  the  files  AGNES.CMF,
  330.    DOODLE.CMF and WIPE_OUT.CMF  is the  same as putting  in the  directory an
  331.    archive called (for instance) CMF.ZIP which contains AGNES.CMF, DOODLE.CMF
  332.    and WIPE_OUT.CMF.
  333.  
  334.        You don't have to put  all your songs files  in this directory; CD-Box
  335.    can look for them elsewhere on  the disk (and even on  other disks) if you
  336.    want it to. I'll tell you more about this later.
  337.  
  338.    _________
  339.    Make sure
  340.  
  341.  
  342.  
  343.    CD-Box v3.03                                                        Page 10
  344.  
  345.            o  that the BLASTER environment variable is  set (see page  42). It
  346.    is not mandatory, but it might help; skip this step for now, and return to
  347.    it later if you have trouble with .VOC and .WAV files.
  348.  
  349.  
  350.            o  that the "archivers" (by default: ARCE.COM, ARJ.EXE, PAK.EXE and
  351.    PKUNZIP.EXE) also are on  the PATH. You can  skip this step  if you didn't
  352.    compress song files in .ARC, .ARJ, .PAK or .ZIP archives.
  353.  
  354.  
  355.    ____
  356.    Load
  357.  
  358.        the SBFMDRV and SOUND drivers in memory  (if you have them). Just type
  359.    their names  at the  DOS prompt  (see page   18 if  you're concerned  about
  360.    saving memory).
  361.  
  362.    ___________
  363.    Type CD-Box
  364.  
  365.        ...and press Enter (the  first time CD-Box is  run, the directory scan
  366.    may take a long time, especially if you have  many songs - don't worry, it
  367.    will go much faster next time).
  368.        If you didn't put  your songs in  CD-Box's directory, you  can type on
  369.    the command line the specifications of the files to analyse, and add /s to
  370.    scan subdirectories also. For instance, if you type:
  371.  
  372.  
  373.  
  374.    cd-box a: d:\music\ /s
  375.  
  376.  
  377.  
  378.        CD-Box will scan and load all songs in A: and D:\MUSIC\, and all their
  379.    subdirectories.
  380.  
  381.    ________
  382.    Have fun
  383.  
  384.        ...and see what CD-Box can do.
  385.        If you get errors or have trouble, see page 30.
  386.        If you want to know exactly what you have to do for CD-Box to play ALL
  387.    formats, see page 16.
  388.        If you have  other players  or archivers  than those  mentioned above,
  389.    check out CD-BOX.CFG; if you don't get it all, see page 22.
  390.        If you use CD-Box, register! See page 38.
  391.  
  392.        And now, let's relax...
  393.  
  394.  
  395.  
  396.    CD-Box v3.03                                                        Page 11
  397.  
  398.    C.  HOW TO USE CD-BOX
  399.  
  400.  
  401.  
  402.  
  403.  
  404.    _______________________________
  405.    1.  Let's start with the basics
  406.  
  407.        The explanations below, as  with most of  this documentation, supposes
  408.    you have a mouse  and CD-Box is able  to use it. If  you use the keyboard,
  409.    see page 21.
  410.        You run it by typing CD-BOX at the DOS prompt. Obvious, really. If all
  411.    goes well, the title page zooms by, and the main screen appears.
  412.        The screen is  a jukebox  of sorts,  with song  titles in  the middle.
  413.    Below these is a set of big buttons,  with which you can give instructions
  414.    to CD-Box. The  row of thinner  buttons, still  lower, are  used to change
  415.    modes; CD-Box is divided in several  modes, with a set  of buttons each to
  416.    match - but  we'll come  back to  that later.  The digital  display, which
  417.    usually displays  the  time  of  day,  can  also  display something  else,
  418.    depending on the active mode.
  419.        When CD-Box is ready  to receive your instructions,  the mouse pointer
  420.    is a yellow arrow.
  421.  
  422.            o  If you start to  get a little lost,  press Esc repeatedly  until
  423.    you get back to  the mode you are  in when CD-Box starts  up; you can then
  424.    start all over  again. If you  press Esc again,  CD-Box tells  you that to
  425.    quit, you need to press E. To quit CD-Box, press E, or click on "Eject".
  426.  
  427.  
  428.            o  On-line help is available from most screens by clicking Help (or
  429.    pressing F1), and this very manual can be displayed by clicking Manual (or
  430.    pressing F2).
  431.  
  432.  
  433.            If you just started up CD-Box, you are in...
  434.  
  435.  
  436.  
  437.    _______________
  438.    2.  Select mode
  439.  
  440.        In this mode,  you choose  and start  to play  songs. The  song titles
  441.    loaded by  CD-Box are  displayed  eight by  eight,  in the  middle  of the
  442.    screen.
  443.  
  444.            o  Move between the pages by clicking on the "Rewind" and "Forward"
  445.    buttons (you can  hold down  these buttons with  the mouse).  Pressing the
  446.    RIGHT mouse button on "Rewind"  and "Forward" brings you  to the first and
  447.    last page, respectively.
  448.  
  449.  
  450.            o  Select one or more songs to play by clicking on the small button
  451.    next to  the songs'  names; they  will  be played  back in  the  order you
  452.    selected them. The  digital display changes  color and  displays the total
  453.    time of your selection.
  454.  
  455.  
  456.            o  Click on "Loop" if you want your selection to be played over and
  457.    over again.
  458.  
  459.  
  460.            o  Click on "Play" to  play the songs you'll  be in Play mode  (see
  461.    below).
  462.  
  463.  
  464.  
  465.    CD-Box v3.03                                                        Page 12
  466.  
  467.            o  Clicking on "Random" brings you into  Random mode. You can  then
  468.    select the  total playing  time you  wish,  by pressing  the  "Rewind" and
  469.    "Forward" buttons; pressing the  RIGHT mouse button brings  up the minimum
  470.    and maximum playing time, respectively. Once the desired time is displayed
  471.    on the  digital  display, click  on  "Play". CD-Box  will  randomly select
  472.    additional songs  until  the  desired  time  is  reached,  then  play  the
  473.    songs(1).
  474.  
  475.  
  476.            o  Clicking on "Random" while in Random mode, exits Random mode.
  477.  
  478.  
  479.            o  Clicking on the  wide "Unselect"  button will  unselect ALL  the
  480.    songs.
  481.  
  482.  
  483.            o  Finally, click on "Eject" to quit.
  484.  
  485.        When you click on "Play", CD-Box switches to...
  486.  
  487.  
  488.    _____________
  489.    3.  Play mode
  490.  
  491.        This mode is active  while songs are  being played back.  Each song is
  492.    played in turn, and unselected, unless "Loop" is pressed, in which case it
  493.    will be reselected to be played again later.
  494.  
  495.            o  Each song is played in turn, and then de-selected, unless "Loop"
  496.    is in the down  position, in which case  they are reselected  to be played
  497.    again later.
  498.  
  499.  
  500.            o  Pressing Esc  while a  song is  playing interrupts  the  current
  501.    song, and CD-Box starts looking for the next one. If you press Esc between
  502.    songs, playback  stops entirely  (songs not  yet played  remain selected).
  503.    You've got to press Esc twice quite fast to stop the playback in fast mode
  504.    (/F, see below).
  505.  
  506.        If CD-Box  uses its  own  routines to  play  the format  (I  call this
  507.    "internal support", we'll go into this in more detail later on), the clock
  508.    displays a real-time chronometer, and the following buttons are displayed:
  509.  
  510.            o  Stop: stops  playback entirely  (same  as pressing  Esc  between
  511.    songs).
  512.  
  513.  
  514.            o  Skip: interrupts the  current song (same  as pressing Esc  while
  515.    playing).
  516.  
  517.  
  518.            o  Pause: toggle it once to pause the music, and toggle it again to
  519.    have it pick up where it left off.
  520.  
  521.  
  522.                        
  523.        1  Certain songs may be of  unknown length (they were  not known to CD-
  524.    Box and they have  never been played yet).  When such a  song is selected,
  525.    CD-Box supposes the  length is  zero. Therefore, if  you use  the "Random"
  526.    button and  such songs  are chosen,  the actual  playing  time may  be far
  527.    longer than the playing time you entered  (remember in such cases that Esc
  528.    still works).  Of course  a way  to compute  all playing  times is  to use
  529.    Random mode and choose the  maximum playing time, in  which case all songs
  530.    will be played.
  531.  
  532.  
  533.  
  534.    CD-Box v3.03                                                        Page 13
  535.  
  536.            o  Again: if pressed,  the song being  played back  will be  played
  537.    again when the end is reached or if Skip is pressed.
  538.  
  539.  
  540.            o  Rem.: if pressed, the digital display shows the time left  until
  541.    the song or the total selection  ends (see next button),  as far as CD-Box
  542.    can tell; if  not, the digital  display shows  the time  elapsed since the
  543.    beginning of the song or the total selection.
  544.  
  545.  
  546.            o  Total: if pressed, the digital display shows the time elapsed or
  547.    left (see previous button) for the current song; if not, it shows the time
  548.    elapsed or left for the whole selection. Got it?
  549.  
  550.        Depending on the format,  you may also have  access to some  or all of
  551.    the following extra controls:
  552.  
  553.            o  Volume control: press a button in the colored row to select  the
  554.    volume. Volumes changes are  not instantaneous (some  .MOD files sometimes
  555.    sound weird while the volume is being changed). The higher the volume, the
  556.    better the quality.
  557.  
  558.  
  559.            o  Skipping backward/forward within the  song: press the button  to
  560.    the left of the volume control or the one to the right. CD-Box will "skip"
  561.    a little of the song in  either way. Trying to skip  back the beginning of
  562.    the song restarts the song, and trying to skip past the end stops it.
  563.  
  564.  
  565.            o  Echo-/Echo+: one press  on each of  these buttons decreases  and
  566.    increases the echo  delay one  step. There are  five delay  steps, ranging
  567.    from no echo at all  to a long echo,  somewhat like airport announcements,
  568.    if you see  what I mean.  Echo controls are  great when  used on digitized
  569.    voices.
  570.  
  571.        Play mode switches back to Select mode when playback ends.
  572.  
  573.  
  574.    _______________
  575.    4.  Modify mode
  576.  
  577.        This mode is used  to modify song titles,  and instruments files (bank
  578.    files) linked  with songs  in certain  formats (.MUS  and .ROL).  The song
  579.    files themselves are not modified;  CD-Box keeps the data  for its own use
  580.    only, and saves it in the SONGS.DAT file.
  581.        Click on the  wide "Modify..."  button to enter  Modify mode.  All the
  582.    songs will be  unselected, and  the row  of buttons  will flip  and reveal
  583.    another set of buttons. "Rewind" and "Forward" work the same as before.
  584.  
  585.            o  You can  display the  song titles,  bank  files or  filename  by
  586.    clicking on one of the three buttons at the right.
  587.  
  588.  
  589.            o  If you click on the  small button next to  a song, a dot  cursor
  590.    will appear and you  will be able  to modify whatever  is displayed, using
  591.    the keyboard  (Backspace, Enter  and Escape  do  the obvious  things). Any
  592.    changes you type in will be automatically saved  to disk once you exit CD-
  593.    Box.
  594.  
  595.  
  596.  
  597.    CD-Box v3.03                                                        Page 14
  598.  
  599.    _____________
  600.    5.  Goto mode
  601.  
  602.        This mode is  used to jump  quickly to a  specific title  (or file) by
  603.    giving the first  letter, instead of  moving through the  whole list using
  604.    "Rewind" and "Forward".
  605.        Click on "Goto...", and an alphabetic set of buttons will appear. From
  606.    there, simply  choose  a letter,  and  CD-Box will  "Rewind"  or "Forward"
  607.    directly to the page containing the first  song starting by the letter you
  608.    selected, and  flash that  song briefly.  If no  such song  exists, CD-Box
  609.    tries with  the next  letter, and  the next,  and may  finally give  up by
  610.    giving an error message.
  611.        When you  exit  Goto mode,  either  automatically, or  by  clicking on
  612.    "Goto..." a second  time, you will  be brought back  to the  same mode you
  613.    were in before entering Goto mode. Goto is accessible from all modes.
  614.  
  615.  
  616.    ______________
  617.    6.  Files mode
  618.  
  619.        Click on "Files...",  and CD-Box will  save any changes  you have made
  620.    (bank files, song titles, whatever), and  promptly forget all the songs in
  621.    memory. Files names will  then be displayed instead  of song titles. These
  622.    files are NOT the song  files themselves, but the  files CD-Box scanned to
  623.    get the songs  in memory  - the  difference is  that archive  files (.ARC,
  624.    .ARJ, .PAK  and .ZIP)  will  be displayed  as  such, instead  of  having a
  625.    separate entry for each file in the archive (as is the case in Modify mode
  626.    when the "File"  button is  pressed). Also,  if the  files scanned  are in
  627.    other drives or directories, the whole path (or as  much as can fit in) is
  628.    displayed.
  629.        All files are  selected by  default. You can  browse through  the list
  630.    using  "Rewind"  and  "Forward"   as  usual,  and   "Goto..."  a  specific
  631.    filename... and when  you click on  "Rescan", CD-Box will  rescan ONLY the
  632.    files left selected. Thus, if you left all the files selected, CD-Box will
  633.    reload all the songs and  nothing will be changed.  If you unselected them
  634.    all, CD-Box will load no songs.
  635.        This serves as a "filter" for the  songs displayed in CD-Box, and used
  636.    by (for instance)  Random mode.  If your songs  are archived  by category,
  637.    switching to Files mode  and choosing only certain  files will tell CD-Box
  638.    to display and use  only the songs in  these categories. If  you don't use
  639.    archives at all, then probably Files mode will not be of much use to you.
  640.        Note that the files displayed are not  all the files in the directory,
  641.    but rather those that contain songs. Also, if you specified /L at startup,
  642.    any unplayable files in the  directory will not be  displayed. And, if you
  643.    specified file  specifications  at  startup  (for  instance, CD-BOX  *.MOD
  644.    Z*.ZIP), only the files  matching these specifications  will be displayed.
  645.    All this is  cumulative, of  course. The  command line  serves as  a first
  646.    filter, and Files mode  then enables you  to choose the  filtered files by
  647.    hand.
  648.        Files mode is much simpler to use  than to describe, believe me... try
  649.    it!
  650.  
  651.  
  652.    ______________
  653.    7.  Debug mode
  654.  
  655.        This is not really a mode  in the sense of  those described above, but
  656.    is a command-line switch important enough  to be included here. Typing CD-
  657.    BOX/D at the DOS prompt:
  658.  
  659.            o  returns the registration number (if any!).
  660.  
  661.  
  662.            o  checks the CD-BOX.CFG file for errors, reporting any, so you can
  663.    correct them.
  664.  
  665.  
  666.  
  667.    CD-Box v3.03                                                        Page 15
  668.  
  669.            o  displays, for each driver, player, and archive manager,  whether
  670.    it was found or not.
  671.  
  672.  
  673.            o  scans the  directory for  songs, displaying  each song  name  in
  674.    turn, so you may find which song exactly makes CD-Box crash (if any).
  675.  
  676.        This mode is described in detail page 34.
  677.  
  678.  
  679.  
  680.    CD-Box v3.03                                                        Page 16
  681.  
  682.    D.  HOW CD-BOX WORKS
  683.  
  684.  
  685.  
  686.  
  687.  
  688.    _____________________________________
  689.    1.  Programs you need for each format
  690.  
  691.        In  addition  to   CD-BOX.EXE  (the   program)  and   CD-BOX.CFG  (the
  692.    configuration file), you need songs to play,  and a player program in some
  693.    cases. Those quoted  below are  the defaults; see  page  22 to  see how  to
  694.    change them.
  695.        In a  nutshell, here  is the  complete list  of the  different formats
  696.    supported by CD-Box and  the programs necessary to  use these formats. How
  697.    to obtain these drivers and players is described page 45.
  698.  
  699.    ________
  700.    ARCHIVES
  701.  
  702.  
  703.        _____________
  704.        .ARC archives
  705.  
  706.  
  707.  
  708.        You need ARCE.COM, or ARC.EXE if you make a few changes in CD-BOX.CFG.
  709.  
  710.        _____________
  711.        .ARJ archives
  712.  
  713.  
  714.  
  715.        You need ARJ.EXE.
  716.  
  717.        _____________
  718.        .PAK archives
  719.  
  720.  
  721.  
  722.        You need PAK.EXE.
  723.  
  724.        _____________
  725.        .ZIP archives
  726.  
  727.  
  728.  
  729.        You need PKUNZIP.EXE, or  UNZIP.EXE if you  make a few  changes in CD-
  730.        BOX.CFG.
  731.  
  732.    _____________
  733.    MUSIC FORMATS
  734.  
  735.  
  736.        ____________________________________
  737.        Creative Music (.CMF) (SoundBlaster)
  738.  
  739.  
  740.  
  741.        You need the sound driver SBFMDRV.COM  from Creative Labs, Inc, and it
  742.        has to be loaded in memory before CD-Box is run. (You can remove it by
  743.        typing  SBFMDRV  /U  once  you  exit  CD-Box).  No  other  program  is
  744.        necessary, .CMF routines are programmed directly into CD-Box.
  745.  
  746.        ________________________________________
  747.        Single track MIDI (.MID) (SoundBlaster?)
  748.  
  749.  
  750.  
  751.        You need FORMER.EXE -  if you can find  it. I know  quiet .MID players
  752.        are difficult  to  come  by.  Anyway,  I  have  hopes  of implementing
  753.        routines in CD-Box itself.
  754.  
  755.  
  756.  
  757.    CD-Box v3.03                                                        Page 17
  758.  
  759.        _______________________________
  760.        Amiga MOD (.MOD) (SoundBlaster)
  761.  
  762.  
  763.  
  764.        You need nothing except  lots of memory; CD-Box  is linked to internal
  765.        .MOD playing routines.
  766.  
  767.        ___________________________________
  768.        Music (.MUS) (AdLib & SoundBlaster)
  769.  
  770.  
  771.  
  772.        You need PLAY.EXE. Each .MUS file  also needs a .SND  bank file, so be
  773.        sure to put them  in the directory too.  (ex: AGNES.MUS and AGNES.SND,
  774.        MULL.MUS and MULL.SND...)(2).
  775.  
  776.        ____________________________________
  777.        ROLand (.ROL) (AdLib & SoundBlaster)
  778.  
  779.  
  780.  
  781.        You need the sound driver SOUND.COM  from AdLib, Inc, or SB-SOUND.COM,
  782.        and it  has to  be loaded  in memory  before CD-Box  is run.  No other
  783.        program is necessary, .ROL  routines are programmed  directly into CD-
  784.        Box.
  785.        On the  other hand,  .ROL  files also  need  at least  one  bank file,
  786.        usually STANDARD.BNK or BNK974.BNK.
  787.  
  788.        ________________________________________
  789.        SoundBlaster VOiCe (.VOC) (SoundBlaster)
  790.  
  791.  
  792.  
  793.        You need nothing; CD-Box is able  to play .VOC by  itself, and is even
  794.        able to  find your  SoundBlaster by  itself  (autodetection). However,
  795.        setting the BLASTER environment variable might help (see page 42).
  796.        Digitized sounds in  other formats (Macintosh  .SND, Sun  .AU and many
  797.        others) can be  converted to .VOC  using various utilities.  I use and
  798.        recommend  SOX   (maintained   by   Lance   Norskog),   available   at
  799.        garbo.uwasa.fi in pc/sound.
  800.  
  801.        ______________________________________
  802.        Windows 3.1 WAVe (.WAV) (SoundBlaster)
  803.  
  804.  
  805.  
  806.        Exactly the same as above. CD-Box treats .VOC and .WAV very similarly.
  807.  
  808.        The program files  do not  have to reside  in CD-Box's  directory, but
  809.    make sure  CD-Box  has  access  to  them  (through  a  PATH statement  for
  810.    instance). CD-Box also examines the SOUND environment variable and is able
  811.    to load drivers  and players  from there  if necessary.  To see  if CD-Box
  812.    detects properly your  drivers and player  programs, type  CD-BOX/D at the
  813.    DOS prompt.
  814.  
  815.  
  816.    _____________________________
  817.    2.  Adding and removing songs
  818.  
  819.        The song titles displayed in CD-Box depend entirely on the songs found
  820.    in the  files present  in all  directories scanned  at startup  (either in
  821.    archives or not). If you want  to add songs to CD-Box,  simply put them in
  822.    the current directory. To  remove them, delete the  files. In other words,
  823.  
  824.                        
  825.        2 .MUS bank files (.SND files)  are different from Macintosh raw sound
  826.    files (.SND extension also)  - the former contain  instrument data and the
  827.    latter a complete digitized sound.
  828.  
  829.  
  830.  
  831.    CD-Box v3.03                                                        Page 18
  832.  
  833.    CD-Box always reflects  the current  directory - only  the file  names are
  834.    replaced by song titles.
  835.  
  836.  
  837.    _________________
  838.    3.  Saving memory
  839.  
  840.        The two drivers  CD-Box uses,  SBFMDRV and  SB-SOUND, take  up memory.
  841.    There are two ways to avoid this:
  842.  
  843.            o  If you  have a  386 or  better,  when you  load a  driver,  type
  844.    LOADHIGH before typing the driver's name in the DOS prompt. This will load
  845.    the driver in high memory, out of the critical 640K DOS memory, and CD-Box
  846.    will have more memory to run.
  847.  
  848.  
  849.            o  Once you quit CD-Box, you can remove the drivers from memory  by
  850.    typing SBFMDRV/U and SB-SOUND/U. If you loaded them using LOADHIGH, remove
  851.    them by typing LOADHIGH  SBFMDRV/U and LOADHIGH SB-SOUND/U.  Note that you
  852.    have to remove drivers in the reverse order in which you loaded them. This
  853.    does not work with AdLib's SOUND driver.
  854.  
  855.        See the RUNME.BAT file for an example of both these features.
  856.  
  857.  
  858.    __________________________
  859.    4.  How CD-Box plays songs
  860.  
  861.        It  depends  on  the  format.  As   a  general  rule,  there  are  two
  862.    possibilities: either  it  plays  them  by  itself,  using  its  own  code
  863.    (internal support),  or  it doesn't  know  how to  play  this  format, and
  864.    executes an external program (the player), specific to each format. CD-Box
  865.    currently provides for all formats except .MID and .MUS.
  866.        In greater detail, for each format, CD-Box follows these rules:
  867.  
  868.            o  If  there  is  a  section   about  this  format  in   CD-BOX.CFG
  869.    ([<format>]), then CD-Box will provide external support, and:
  870.  
  871.  
  872.                o  If there is a  "Dual=yes" statement in the  section,
  873.                and CD-Box has internal  support for this format,  then
  874.                CD-Box will first try playing such songs using its  own
  875.                routines, and, if  this fails (error  while loading  or
  876.                whatever), use the external player.
  877.  
  878.  
  879.                o  If there is no such  statement in the section,  then
  880.                CD-Box will ALWAYS  use this player  to play the  song,
  881.                using the parameters given in CD-BOX.CFG.
  882.  
  883.  
  884.            o  If there is no section on this format in CD-BOX.CFG, then CD-Box
  885.    will use its internal routines to play the song, if any.
  886.  
  887.  
  888.            o  In all other cases,  CD-Box will NOT play  songs of this  format
  889.    (the corresponding pilot light above the song names is greyed).
  890.  
  891.        Usually you'll want CD-Box  to play songs  by itself; it's  by far the
  892.    easiest way, there's no player  to install, and you  can pause, resume and
  893.    stop the song using the  mouse. However, you would  use an external player
  894.    if:
  895.  
  896.            o  CD-Box provides no internal support for the corresponding format
  897.  
  898.  
  899.  
  900.    CD-Box v3.03                                                        Page 19
  901.  
  902.            o  Or you have a player capable of playing the format on your card,
  903.    other than a SoundBlaster (for instance,  a player capable of playing .CMF
  904.    files on the AdLib).
  905.  
  906.        Note that even if CD-Box does  have internal support for some formats,
  907.    it may still need the corresponding driver.
  908.        CD-BOX.CFG, CD-Box's configuration file, is explained page 22.
  909.  
  910.  
  911.    _________________________________________________
  912.    5.  Details on .ARC, .ARJ, .PAK and .ZIP archives
  913.  
  914.        CD-Box is able to look into .ARC, .ARJ, .PAK and .ZIP files (hereafter
  915.    called "archives") to see if there  are any songs there;  if it finds any,
  916.    the corresponding title will appear on the  main screen, and the song will
  917.    be treated just as any other song. This means  your songs can be packed in
  918.    archives in  CD-Box's  directory  to save  space;  CD-Box  will  find them
  919.    anyway.
  920.  
  921.      _____________________________________________________________
  922.      a.  When does CD-Box uncompress the songs stored in archives?
  923.  
  924.        Unpacking occurs in two cases only:
  925.  
  926.            o  at startup, if a song  found in an archive  is not known to  CD-
  927.    Box, it will exploded  using the appropriate  archiver (ARCE.COM, ARJ.EXE,
  928.    PAK.EXE, PKUNZIP.EXE, or whatever  you specified in CD-BOX.CFG)  so it can
  929.    be analyzed. The program will try to extract the most information from the
  930.    file (title and length  in particular); the "Analyzing  song" indicator is
  931.    lit up. When done, CD-Box will remove the unpacked file.
  932.  
  933.  
  934.            o  just before playing a song stored in an archive, the small  "CD-
  935.    BOX" on the  green reader at  the top of  the screen lights  up and CD-Box
  936.    invokes the  archiver to  explode  the song  file,  and the  bank  file if
  937.    necessary. When done playing, the unpacked files are removed also.
  938.  
  939.  
  940.      ________________________________
  941.      b.  Where are files exploded to?
  942.  
  943.        Files temporarily extracted from archives files reside on:
  944.  
  945.            o  the drive/directory  specified by  the  Temp= statement  in  CD-
  946.    BOX.CFG;
  947.  
  948.  
  949.            o  if Temp= is not specified, the drive/directory specified by  the
  950.    TEMP environment variable;
  951.  
  952.  
  953.            o  if TEMP doesn't exist, to the default drive/directory.
  954.  
  955.        Always make  sure there's  enough room  to  hold the  largest expanded
  956.    song! Otherwise you'll get an "Unable to explode song" message.
  957.  
  958.      _______________________________________________________________________
  959.      c.  What programs are necessary to take full advantage of this feature?
  960.  
  961.        Any programs capable  of extracting files  from .ARC,  ARJ and/or .ZIP
  962.    files (typically ARCE.COM, ARJ.EXE, PAK.EXE and PKUNZIP.EXE, but you might
  963.    have others). If you  don't have the corresponding  archive manager, or if
  964.    it is not reachable through a PATH statement,  and if you have archives in
  965.    CD-Box's directory, the message "Unable to explode song" will appear.
  966.        The bottom  line:  using  archives  with  CD-Box  is  pretty  easy and
  967.    straightforward. In the case of synthetized  music files (.CMF, .MID, .MUS
  968.    and .ROL), it  also saves  an average  of 80%  of disk  space. And  if you
  969.  
  970.  
  971.  
  972.    CD-Box v3.03                                                        Page 20
  973.  
  974.    archive your  music files  by category,  you'll  better take  advantage of
  975.    Files mode. Believe me, it's worth it!!!
  976.  
  977.  
  978.    ________________
  979.    6.  Dual support
  980.  
  981.        .CMF, .MOD, .ROL, .VOC and  .WAV files: it means  CD-Box can play this
  982.    format by itself. So you have three choices:
  983.  
  984.            o  The easiest: just let  it play the songs  and don't worry  about
  985.    anything else.
  986.  
  987.  
  988.            o  If CD-Box won't  play this format  on your particular  computer,
  989.    you can  try overriding  its routines  by telling  it  to use  an external
  990.    player (ex:  AdLib users  might have  a .CMF  player  that works  on their
  991.    card). You simply have to insert the appropriate statements in CD-BOX.CFG.
  992.  
  993.  
  994.            o  CD-Box can also use both: try playing the format by itself,  and
  995.    if that fails,  use an  external player;  you have  to insert  whatever is
  996.    needed to run the player in CD-BOX.CFG, and add a "dual=yes" statement.
  997.  
  998.        See page  25 for how to tell CD-Box to  use internal, external, or dual
  999.    support.
  1000.  
  1001.  
  1002.  
  1003.    CD-Box v3.03                                                        Page 21
  1004.  
  1005.    E.  KEYBOARD COMMANDS
  1006.  
  1007.  
  1008.  
  1009.        CD-Box can  be  used  without  the  mouse  entirely,  although  it was
  1010.    intended from the start to run with a mouse. In fact, versions up to v2.10
  1011.    (inclusive) required a mouse; it was not optional.
  1012.        Some random animations  lose much of  their interest  without a mouse;
  1013.    sometimes a  grey arrow  will  appear to  simulate  the mouse,  as  in the
  1014.    "lighter" animation.
  1015.        The keyboard is active even with a mouse.  What CD-Box does when a key
  1016.    is pressed is find which  button to activate, then  simulate a left button
  1017.    click.
  1018.        Most buttons can  be clicked  on by pressing  their first  letter, the
  1019.    notable exceptions  being Rewind  and Forward,  which  are PgUp  and PgDn,
  1020.    respectively. The long rectangular button under  the main button menu work
  1021.    the same,  but with  the Alt  key  held down.  The volume,  skip  and echo
  1022.    controls work with the Ctrl key held down.
  1023.        The exact keys to click on the various buttons are on the back of this
  1024.    manual (last page).
  1025.  
  1026.  
  1027.  
  1028.    CD-Box v3.03                                                        Page 22
  1029.  
  1030.    F.  CD-BOX.CFG
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.    _____________________________
  1037.    1.  The purpose of CD-BOX.CFG
  1038.  
  1039.        CD-BOX.CFG is  a  file  in  which  you  can  define  many  of CD-Box's
  1040.    parameters. Mainly, you  can specify  what driver/player programs  to use,
  1041.    and also how to extract songs from archives, and various other things. CD-
  1042.    Box has default values for most of  these parameters, but you can override
  1043.    them with CD-BOX.CFG.
  1044.        Two important remarks:
  1045.  
  1046.            o  Errors in  CD-BOX.CFG are  skipped; CD-Box  will simply  give  a
  1047.    warning message at startup and  go on anyway. But  these errors may hinder
  1048.    CD-Box when extracting  or playing songs.  A complete error  report may be
  1049.    obtained by  typing CD-BOX/D;  the  messages displayed  are  usually clear
  1050.    enough for you to understand what's wrong, and correct the situation.
  1051.  
  1052.  
  1053.            o  Archivers run as subshells by  CD-Box (and players if  possible)
  1054.    must produce NO OUTPUT OF ANY KIND. The reasons, I think, are obvious (CD-
  1055.    Box runs in VGA and it wouldn't do to  have big ugly characters messing up
  1056.    and maybe scrolling the screen each time you play a song). Therefore, make
  1057.    sure the archivers and player programs  won't print anything, either using
  1058.    a parameter from the archiver or the player  itself (for instance, /Q or -
  1059.    q), or by  redirecting output to  null, void, nothing,  emptiness (> nul).
  1060.    This last solution doesn't always work; check  under DOS. You might have a
  1061.    player which  always  displays something,  or  which you  WANT  to display
  1062.    something  (for  instance  WOWII  or  PLAYROL);  in  this  case,  use  the
  1063.    "text=yes" command described on page 26.
  1064.  
  1065.  
  1066.  
  1067.    __________
  1068.    2.  Syntax
  1069.  
  1070.  
  1071.      ____________
  1072.      a.  Comments
  1073.  
  1074.        All blank lines and everything after a semicolon (;) are ignored.
  1075.  
  1076.      ______________________
  1077.      b.  Parameter settings
  1078.  
  1079.        Most parameters are  set by typing  the parameter name,  an equal sign
  1080.    (with no space before nor after), and the parameter value. For instance:
  1081.  
  1082.  
  1083.  
  1084.    Temp=D:\
  1085.    player=PLAY.EXE
  1086.  
  1087.  
  1088.  
  1089.        Case is not  important in  the parameter name,  but it  may be  in the
  1090.    value; "/q" and "/Q"  might not mean the  same thing to  a player program.
  1091.    CD-Box always preserves  case when passing  parameters to  the programs it
  1092.    runs, except for filenames, which are always in uppercase.
  1093.  
  1094.  
  1095.  
  1096.    CD-Box v3.03                                                        Page 23
  1097.  
  1098.      _______________________
  1099.      c.  Section identifiers
  1100.  
  1101.        Some commands like Player=, Parameters=, and so on, need to know which
  1102.    format you're referring to. Special lines like:
  1103.  
  1104.  
  1105.  
  1106.    [ROL]
  1107.  
  1108.  
  1109.  
  1110.        means the  following  parameter  settings are  intended  for  the .ROL
  1111.    format. You can have  a different section  for each song  format, and each
  1112.    archive format.
  1113.  
  1114.  
  1115.    _____________________
  1116.    3.  Command reference
  1117.  
  1118.  
  1119.      _____________________
  1120.      a.  System parameters
  1121.  
  1122.  
  1123.  
  1124.  
  1125.    MixingSpeed=n
  1126.  
  1127.  
  1128.  
  1129.        This will set CD-Box's .MOD playing routines to n Hz per second. Lower
  1130.    values will run  better on slower  computers, while  higher values enhance
  1131.    playback quality. Values higher than 22000  Hz don't make much sense since
  1132.    instruments in .MOD  files are  sampled at a  rate of  22 KHz  anyway. The
  1133.    default is 15909. This affects .MOD files only.
  1134.  
  1135.  
  1136.  
  1137.    MODDevice=n
  1138.  
  1139.  
  1140.  
  1141.        This set the output device .MODs are played to, n being:
  1142.  
  1143.    0                       PC speaker (sounds awful under CD-Box)
  1144.    1                       D/A converter on LPT1
  1145.    2                       D/A converter on LPT2
  1146.    3                       D/A converter on LPT3
  1147.    4                       D/A converter on LPT1 and LPT2 (stereo)
  1148.    5                       D/A converter on LPT1 and LPT2 (mono)
  1149.    7                       SoundBlaster card
  1150.    10                      Stereo-on-1 card
  1151.    11                      Disney Sound Source on LPT1
  1152.    12                      Disney Sound Source on LPT2
  1153.    13                      Disney Sound Source on LPT3
  1154.    255                     No sound (indeed not very useful)
  1155.  
  1156.        Default is 7 (SoundBlaster). This affects .MOD files only.
  1157.  
  1158.  
  1159.  
  1160.    CD-Box v3.03                                                        Page 24
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.    DefaultBNK=fichier
  1167.  
  1168.  
  1169.  
  1170.        Without this parameter, CD-Box  supposes .ROL files  it encounters for
  1171.    the first  time need  the BNK974.BNK  bank  file. This  command  sets this
  1172.    default to another bank  file (for instance,  STANDARD.BNK or COUCOU.BNK).
  1173.    Don't specify  the extension,  CD-Box  will automatically  add  .BNK. This
  1174.    affects .ROL files only.
  1175.        Use this command to set the bank file you use the most often. If a few
  1176.    .ROLs need a different bank file, use the Modify mode.
  1177.  
  1178.  
  1179.  
  1180.    Temp=chemin
  1181.  
  1182.  
  1183.  
  1184.        This sets the path on which  files extracted from archives temporarily
  1185.    reside. Make sure it's big enough to hold  your largest song (and its bank
  1186.    file if necessary).  If omitted, the  temporary path  defaults the current
  1187.    directory (or the directory in your TEMP environment variable).
  1188.  
  1189.      _______________________
  1190.      b.  Archiver parameters
  1191.  
  1192.        The only case you should have to insert commands like the following is
  1193.    if you have  a different  archiver than  those I  planned to  handle .ARC,
  1194.    .ARJ, .PAK and .ZIP files. I put these commands in for completeness' sake,
  1195.    and just in case  the upgrade to an  archiver use a  different syntax than
  1196.    the previous version (it's very unlikely but you never know).
  1197.  
  1198.  
  1199.  
  1200.    [ARC]
  1201.    archiver=ARCE.COM
  1202.    parameters=$zipfile $files /R /Q > nul
  1203.  
  1204.  
  1205.  
  1206.        This means  the archiver  for .ARC  files  is ARCE.COM,  and  when you
  1207.    extract the  files "ABCD.TXT  EFG.MOD" from  the "HELLO.ARC"  archive, you
  1208.    type at the DOS prompt:
  1209.  
  1210.  
  1211.  
  1212.    ARCE HELLO.ARC ABCD.TXT EFG.MOD /R /Q > nul
  1213.  
  1214.  
  1215.  
  1216.        $zipfile and $files are replaced at  runtime by the appropriate names.
  1217.    $zipfile will  always  be  a single  filename  (the  name  of  the archive
  1218.    itself), while $files  is a string  of filenames separated  by spaces (the
  1219.    names of the files to extract).  Note that the ">  nul" prevents ARCE from
  1220.    displaying anything on  the screen,  thereby preserving  CD-Box's splendid
  1221.    graphics  and  stupendous  animation  (well,  maybe  I'm  overdoing  it  a
  1222.    little... :-)
  1223.        The same things applies to all other archivers of course.
  1224.        If you use ARC.EXE instead of ARC.COM, insert the following commands:
  1225.  
  1226.  
  1227.  
  1228.    CD-Box v3.03                                                        Page 25
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.    [ARC]
  1235.    archiver=ARC.EXE
  1236.    parameters=x $zipfile $files > nul
  1237.  
  1238.  
  1239.  
  1240.  
  1241.      ________________________________
  1242.      c.  External drivers and players
  1243.  
  1244.        The syntax is very similar:
  1245.  
  1246.  
  1247.  
  1248.    [MUS]
  1249.    player=PLAY.EXE
  1250.    parameters=$song $bank
  1251.  
  1252.  
  1253.  
  1254.        This means the  player necessary to  play .MUS files  is PLAY.EXE, and
  1255.    gives the parameters. $song  is replaced by the  song filename at runtime,
  1256.    and $bank by the bank filename (if any).
  1257.        If you  start a  song section,  you HAVE  to  put in  a Player=  and a
  1258.    Parameters= command.
  1259.        There are four other song format-specific commands:
  1260.  
  1261.  
  1262.  
  1263.    dual=yes
  1264.  
  1265.  
  1266.  
  1267.        The simple fact  that there is  a song section  in CD-BOX.CFG disables
  1268.    completely CD-Box's internal support for the corresponding format; it will
  1269.    rely entirely on what you  specify as Player= and  Parameters= to play the
  1270.    format.  Specifying   "dual=yes"  re-activates   internal   support.  When
  1271.    encountering a song of the corresponding  format, CD-Box will first try to
  1272.    play it using its own routines; if this fails for a specific song, it will
  1273.    switch to external support,  using what you put  in CD-BOX.CFG. An example
  1274.    of how to use this follows on page 27.
  1275.  
  1276.  
  1277.  
  1278.    shell=yes
  1279.  
  1280.  
  1281.  
  1282.        Instead of running the player, CD-Box will run a COMMAND.COM that will
  1283.    itself run the player (COMMAND /C  player parameters...). The advantage is
  1284.    that if the player is not very well written, COMMAND.COM will try to clean
  1285.    up the mess when shutting  down and returning to  CD-Box; the drawback is,
  1286.    of course, increased memory  usage. Fortunately, such  instances are rare,
  1287.    but SPUTROL, for example,  leaves files open; when  run many times without
  1288.    COMMAND.COM from CD-Box, it decreases the number of available file handles
  1289.    until nothing can be run anymore.
  1290.        If you use "> nul" to disable the  player's output, you have to insert
  1291.    a shell=yes  command  so COMMAND.COM  will  take hold  of  the  output and
  1292.    neutralize it.
  1293.  
  1294.  
  1295.  
  1296.    CD-Box v3.03                                                        Page 26
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.    swap=yes
  1303.  
  1304.  
  1305.  
  1306.        Before running the player,  CD-Box will first swap  itself and all its
  1307.    data into EMS memory; if not  available, into XMS, or  a temporary file on
  1308.    the path  specified  in  the TEMP  environment  variable,  or  the current
  1309.    directory, in that order. The result is that instead of gobbling about 250
  1310.    KB of main memory before running the player,  CD-Box will use only about 5
  1311.    KB, leaving all  the rest  to the player.  An example  of how  to use this
  1312.    follows.
  1313.  
  1314.  
  1315.  
  1316.    text=yes
  1317.  
  1318.  
  1319.  
  1320.        CD-Box restore the  video mode  that was in  effect at  startup before
  1321.    running the player, and switches  back to graphics mode  when done. If you
  1322.    have a  player  which cannot  run  without displaying  anything,  or which
  1323.    switches to text mode, make  sure you use this  command; it guarantees CD-
  1324.    Box's display will not be messed up.
  1325.  
  1326.        Another example:
  1327.  
  1328.  
  1329.  
  1330.    [MOD]
  1331.    player=MP.COM
  1332.    parameters=-q $song
  1333.    dual=yes
  1334.    swap=yes
  1335.  
  1336.  
  1337.  
  1338.        If CD-Box cannot  play the  .MOD, it will  run (dual=yes)  an external
  1339.    player (player=MP.COM)  using the  indicated  parameters (parameters=...),
  1340.    freeing beforehand  almost  all  of  main  memory  and  relocating  itself
  1341.    somewhere else (swap=yes). The explanation: if CD-Box tries to play a huge
  1342.    .MOD that does not fit in memory,  the internal routines will fail (giving
  1343.    a "Out  of memory"  message); CD-Box  will then  free  almost all  of main
  1344.    memory, and run MP.COM,  which will have about  600 KB on a  386 or better
  1345.    (560 KB on  a 286)  to load  and play  the .MOD  file. Other  .MOD players
  1346.    include  ModPlay  Pro,  TrakBlaster,  ProMod,  WOWII,  NFP  and  DMP.  For
  1347.    instance, if you love WOWII, use the commands:
  1348.  
  1349.  
  1350.  
  1351.    CD-Box v3.03                                                        Page 27
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.    [MOD]
  1358.    player=WOWII.EXE /B:31000
  1359.    parameters=$song /S
  1360.    swap=yes
  1361.    text=yes
  1362.  
  1363.  
  1364.  
  1365.  
  1366.      __________________________________
  1367.      d.  Support for other song formats
  1368.  
  1369.        CD-Box can support any  number of song formats.  All extra formats are
  1370.    considered as  ".XXX" on  the screen,  but  in fact  the .XXX  may  be any
  1371.    extension. All you have to do is insert  in CD-BOX.CFG a section just like
  1372.    the ones above.
  1373.        For instance,  if you  want to  add .IMF  support to  CD-Box (Apogee's
  1374.    Monster Bash songs  were released before  the game as  .IMF, a proprietary
  1375.    format), simply insert the following in CD-BOX.CFG:
  1376.  
  1377.  
  1378.  
  1379.    [IMF]
  1380.    player=PLAYIMF.EXE
  1381.    parameters=$song > nul
  1382.  
  1383.  
  1384.  
  1385.        You can add as many formats as  you wish; examples include .NST, .STM,
  1386.    .669, .SND,  .AU... whatever.  The formats  that become  really widespread
  1387.    will be included in future releases of CD-Box,  but in the meantime, or if
  1388.    you happen to like a very  specific format, go ahead,  CD-Box will be able
  1389.    to use it.
  1390.        As an aside, extra formats added like this do not have to play on your
  1391.    sound card. If  you have  MIDI equipment connected  to your  computer, and
  1392.    have an adequate player, CD-Box can run it!
  1393.  
  1394.  
  1395.  
  1396.    CD-Box v3.03                                                        Page 28
  1397.  
  1398.    G.  ADVANCED USE
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.    ___________________________
  1405.    1.  Command-line parameters
  1406.  
  1407.        CD-BOX/? gives you a quick summary. Otherwise, here are the details:
  1408.  
  1409.            o  filespec: instead of scanning the entire directory, CD-Box  will
  1410.    scan only the  files matching your  file specifications.  For instance, if
  1411.    you want CD-Box to  load the .MUS and  .ROL files only,  type CD-BOX *.MUS
  1412.    *.ROL; or if you just got a brand  new archive containing new songs called
  1413.    ALLNEW.ZIP that's  in drive  A:, and  you want  CD-Box  to scan  only that
  1414.    archive, type CD-BOX  A:ALLNEW.ZIP. An  alternative is  to use  Files mode
  1415.    (see above). The default for filespec is, of course, *.*.
  1416.  
  1417.  
  1418.            o  /D: This  is a  debugging tool  which displays  everything  that
  1419.    happens  as  CD-Box  is  starting  up.   Check  page   34  for  a  complete
  1420.    description.
  1421.  
  1422.  
  1423.            o  /F: All non-essential animation is skipped, including the  title
  1424.    screen, CDs popping up and down, buttons flipping over, .MOD level bars...
  1425.  
  1426.  
  1427.            o  /H: Specifies  which  file  CD-Box should  display  when  F1  is
  1428.    pressed. The default is CD-BOX.DOC, French users use FRENCH.DOC.
  1429.  
  1430.  
  1431.            o  /L: Tells CD-Box NOT  to load the song  formats which cannot  be
  1432.    played (i.e. a  driver is  not loaded or  missing or  a player  program is
  1433.    missing). In other words,  CD-Box does not load  songs which corresponding
  1434.    pilot light  is greyed.  This includes  archive  files; they  will  not be
  1435.    scanned if the corresponding archive manager cannot be found.
  1436.  
  1437.  
  1438.            o  /M: Tells CD-Box  not to  use a  mouse, even  if it  is able  to
  1439.    detect one. This will remove the warning that no mouse is detected if none
  1440.    is present, and also  will enable you  to use the  keyboard without having
  1441.    your mouse wrecking havoc  on the screen, if  your mouse driver  is one of
  1442.    those which CD-Box doesn't like.
  1443.  
  1444.  
  1445.            o  /O: Calls  up  the registration  screen.  This is  the  same  as
  1446.    pressing "Register" within CD-Box. For prompt registration, please use the
  1447.    form printed by this screen.
  1448.  
  1449.  
  1450.            o  /P: Loads  CD-Box, plays  n minutes  of  music by  switching  to
  1451.    Random mode, and then exits back to DOS  upon completion of the last song.
  1452.    If Esc is  pressed between songs,  playback interrupts just  as usual, and
  1453.    normal operation is resumed: you  can then use the  mouse to choose songs,
  1454.    change titles...
  1455.  
  1456.  
  1457.            o  /R: Removes the  files specified on  the command  line from  the
  1458.    external  database  (SONGS.DAT).   You  have  to   specify  the  filenames
  1459.    (wildcards accepted), not  the song  titles. For  instance, to  remove the
  1460.    files IMPACT7.MOD and all Z*.ROL from  SONGS.DAT, you would type CD-BOX /R
  1461.    IMPACT7.MOD Z*.ROL. CD-BOX /R would delete all the songs in SONGS.DAT it's
  1462.  
  1463.  
  1464.  
  1465.    CD-Box v3.03                                                        Page 29
  1466.  
  1467.    easier to erase  the file. You  shouldn't ever need  to use  /R, except in
  1468.    extremely rare cases where CD-Box would have fouled up and recorded a song
  1469.    length of 456324875 hours for a specific song...
  1470.  
  1471.  
  1472.            o  /S: This tells  CD-Box to also  scan all  the subdirectories  it
  1473.    comes across. For instance, typing CD-BOX \ /S will scan the whole disk!
  1474.  
  1475.  
  1476.            o  /V: Displays the  contents (filename, bank  filename, title  and
  1477.    length) of the external  database (SONGS.DAT) on the  screen, pausing when
  1478.    the screen is full.  The songs displayed match  the file specifications on
  1479.    the command  line  default is  (all).  Blank entries  in  the  Bank column
  1480.    indicate the file does  not need any bank  file, and blank  entries in the
  1481.    Length column indicate  the length of  the song is  not known  (0). If you
  1482.    want to save this listing to a file, specify a filename, like this:
  1483.  
  1484.  
  1485.  
  1486.  
  1487.    CD-BOX /V=filename
  1488.  
  1489.  
  1490.  
  1491.  
  1492.            Output will be saved to the file filename.TXT.
  1493.  
  1494.  
  1495.  
  1496.    CD-Box v3.03                                                        Page 30
  1497.  
  1498.    H.  TROUBLE-SHOOTING
  1499.  
  1500.  
  1501.  
  1502.        If you have a problem,  don't hesitate to check  out this chapter. CD-
  1503.    Box is very easy  to use, but may  be harder to  install; the difficulties
  1504.    grow with the number of formats you use.  But above all, don't panic; most
  1505.    problems have an easy solution.
  1506.        The first part in this chapter gives  quick and easy solutions to most
  1507.    common problems.
  1508.        And the last  part explains  in detail how  CD-Box scans  archives and
  1509.    songs,  so  you  can  understand  and  solve  the  most  tricky  problems,
  1510.    especially if you  try to  modify CD-BOX.CFG. Also,  if CD-Box  crashes at
  1511.    startup, read this last part right now!
  1512.  
  1513.  
  1514.    ___________________
  1515.    1.  Common problems
  1516.  
  1517.  
  1518.      ________________________________
  1519.      a.  Crashes during song analysis
  1520.  
  1521.  
  1522.                      CD-Box hangs while "Building file index"
  1523.  
  1524.  
  1525.        CD-Box was trying  to read  a corrupted archive  (.ARC, .ARJ,  .PAK or
  1526.    .ZIP). Fix the archive or get rid of it!
  1527.  
  1528.         CD-Box stops with a "CRASH!" message and "ANALYZING SONG" was lit
  1529.  
  1530.  
  1531.        Type CD-BOX/D. CD-Box will display a lot of information you can ignore
  1532.    for the moment,  and "CRASH!" again;  however, this  time the  name of the
  1533.    faulty file is displayed on the screen. Follow these simple rules:
  1534.  
  1535.            o  If it's  while analyzing  an  uncompressed song  ("Scanning"  is
  1536.    displayed), it means  the song has  an invalid format,  and CD-Box crashes
  1537.    when trying to extract meaningful values  like song title and song length.
  1538.    Delete that song file!
  1539.  
  1540.  
  1541.            o  If it's while opening an  archive ("Opening" is displayed",  the
  1542.    archive may be corrupted. Fix it!
  1543.  
  1544.        Page 34 provides more information on CD-BOX/D.
  1545.  
  1546.      _________________________________
  1547.      b.  Refusal to play certain songs
  1548.  
  1549.  
  1550.                         CD-Box displays "Driver not found"
  1551.  
  1552.  
  1553.        .CMF: You're  trying to  play  a .CMF  file  but you  didn't  load the
  1554.    SBFMDRV driver before starting  CD-Box. Having SBFMDRV.COM on  disk is not
  1555.    enough, it has  to be  loaded too. You  can always  unload it  later on by
  1556.    typing SBFMDRV/U.
  1557.        .CMF: Same as above but with SOUND instead of SBFMDRV.
  1558.  
  1559.  
  1560.  
  1561.    CD-Box v3.03                                                        Page 31
  1562.  
  1563.                      CD-Box doesn't play .VOC and .WAV files!
  1564.  
  1565.  
  1566.        If you  do have  a SoundBlaster  card or  compatible, it  means CD-Box
  1567.    couldn't find it.  You have to  set the BLASTER  environment variable. See
  1568.    BLASTER in the glossary (page 42) for how to do that.
  1569.  
  1570.                     CD-Box displays "Player program not found"
  1571.  
  1572.  
  1573.        You have tried playing  a song, and the  associated player program was
  1574.    not found (the pilot light at the top should  be greyed). Make note of the
  1575.    format causing problems,  then run  CD-Box with the  /D parameter.  If the
  1576.    corresponding program is  displayed as "not  found.", then  you can't play
  1577.    these songs, unless:
  1578.  
  1579.            o  You get  the  program and  put  it in  CD-Box's  directory,  the
  1580.    directory from the SOUND environment variable, or somewhere on your PATH.
  1581.  
  1582.  
  1583.            o  Or you modify the CD-BOX.CFG file to have CD-Box support another
  1584.    player you might have for that format. See page 22 for details.
  1585.  
  1586.  
  1587.                      CD-Box displays "Don't know how to play"
  1588.  
  1589.  
  1590.        There's something wrong in the CD-BOX.CFG  file. Either the player= or
  1591.    parameters= command is missing, and both must be present.
  1592.        Since CD-Box supports  .CMF, .MOD, .VOC  and .WAV  internally, you can
  1593.    also remove  the [CMF],  [MOD], [ROL],  [VOC]  and [WAV]  sections  in CD-
  1594.    BOX.CFG (if there is one). This way, CD-Box won't try to look for external
  1595.    drivers and/or players, and will use its own code to play the songs.
  1596.  
  1597.            CD-Box doesn't play the song, and there is not error message
  1598.  
  1599.  
  1600.        This should happen  only when  you use an  external player.  If CD-Box
  1601.    acts as if it will play a song, but in fact doesn't play it at all, and no
  1602.    error is generated, it's because  the player got an  error (usually out of
  1603.    memory, but  it  could be  corrupted  bank file  or  something  else), but
  1604.    reported none. CD-Box is then fooled into thinking everything was okay.
  1605.        Try playing the song by hand  under DOS, and see  what happens. If the
  1606.    player says a  driver is  missing (for instance  ROLALARM wants  the SOUND
  1607.    driver to be  loaded in memory),  then load it,  and run  CD-Box again. If
  1608.    there is no problem, then it's very likely the  player ran out of memory -
  1609.    often the case with .MOD files above 250  KB, or with certain complex .ROL
  1610.    files.
  1611.        Add a "swap=yes" statement in the corresponding section in CD-BOX.CFG;
  1612.    CD-Box will swap itself in EMS, XMS or a temporary file, and leave all DOS
  1613.    memory  free  for  your  player  (using  only  about  5  KB;  without  the
  1614.    "swap=yes", CD-Box  uses about  250 KB).  If  this doesn't  work  for you,
  1615.    freeing DOS memory  and loading resident  programs high  on 386+ computers
  1616.    (LOADHIGH SBFMDRV and things like that) is  definitely a bonus, but not as
  1617.    drastic as swapping.
  1618.  
  1619.                      CD-Box displays "Unable to explode song"
  1620.  
  1621.  
  1622.        Three possibilities (at least):
  1623.  
  1624.            o  CD-Box can't find the archive  manager necessary to extract  the
  1625.    song from a .ARC, .ARJ, .PAK  or .ZIP archive (run  CD-BOX/D to find out).
  1626.  
  1627.  
  1628.  
  1629.    CD-Box v3.03                                                        Page 32
  1630.  
  1631.    Either make it available  to CD-Box, remove any  archives containing songs
  1632.    you may have in CD-Box's directory, or run CD-Box with the /L switch.
  1633.  
  1634.  
  1635.            o  There isn't enough room on the temporary drive.
  1636.  
  1637.  
  1638.            o  .MUS and .ROL only: there is another possibility: CD-Box has not
  1639.    found the bank file or could not explode it.  Try changing the name of the
  1640.    bank file associated to  the song (using Modify  mode), or if  the name is
  1641.    okay, check that it is in the same directory or archive than the song.
  1642.  
  1643.  
  1644.                       CD-Box displays "Bank file not found"
  1645.  
  1646.  
  1647.  
  1648.            Bank files associated to  each song must reside  in the same place
  1649.    than the song  itself; both  must be in  the same  directory, or  the same
  1650.    archive. For instance, if  you have three different  .ZIP archives of .ROL
  1651.    files, you must  have all bank  files used by  these songs in  each of the
  1652.    three archives.
  1653.  
  1654.  
  1655.      ______________________
  1656.      c.  Trouble with .MODs
  1657.  
  1658.  
  1659.                          CD-Box displays "Invalid format"
  1660.  
  1661.  
  1662.        CD-Box recognises only 31-instrument .MOD files; you may have .MODs it
  1663.    won't play even though players like ModPlay do. There are two solutions to
  1664.    this:
  1665.  
  1666.            o  Use an external  player to  play .MOD  files, either  overriding
  1667.    completely CD-Box's routines or using dual support (giving CD-Box a chance
  1668.    to play the song and telling  it to use the external  player if it can't).
  1669.    See page 22.
  1670.  
  1671.  
  1672.            o  If you have  ModEdit (or maybe  another .MOD  editor), load  and
  1673.    save the .MOD files. ModEdit will always  save the song as a 31-instrument
  1674.    .MOD, so it will be playable by CD-Box.
  1675.  
  1676.  
  1677.                             .MOD files sound terrible!
  1678.  
  1679.  
  1680.        Apart from  using  an  external  player,  you  can  try  changing  the
  1681.    "MixingSpeed=" statement in CD-BOX.CFG. The higher  the value, the better,
  1682.    but CD-Box's feedback will slow down  accordingly while playing .MOD files
  1683.    and might even  hang if  you specify a  value which  is too  high for your
  1684.    computer. The  default  is 15909  Hz  which should  give  good  results on
  1685.    computers fast enough; 10000 Hz is kind of okay on "slow" machines.
  1686.  
  1687.                      I don't have enough memory to play .MODs
  1688.  
  1689.  
  1690.        Use an external  player. Look  at page  27 for  how to  play huge  .MOD
  1691.    files (up to about 550 KB).
  1692.  
  1693.  
  1694.  
  1695.    CD-Box v3.03                                                        Page 33
  1696.  
  1697.                     Clicking on "Pause" doesn't really pause!
  1698.  
  1699.  
  1700.        When a .MOD  contains instruments  that loop continuously,  CD-Box may
  1701.    have trouble stopping it temporarily without killing it completely. Resume
  1702.    the song,  and try  to pause  again  a little  later. On  the  other hand,
  1703.    whatever  the  .MOD,  clicking  on  "Pause"  is  not  instantaneous,  some
  1704.    instruments may go on playing a  few seconds before stopping, don't worry,
  1705.    it's normal.
  1706.  
  1707.      ____________________
  1708.      d.  Hardware trouble
  1709.  
  1710.  
  1711.       CD-Box crashes and displays "VGA Sprite Manager has run out of memory"
  1712.  
  1713.  
  1714.        The VGA  Sprite Manager  is a  huge  object responsible  for animating
  1715.    sprites on the VGA  screen, not messing  up the background,  being able to
  1716.    superpose different sprites  on different planes,  and preventing flicker.
  1717.    However, it also needs a lot of memory; 64 KB + the sprites to move, so it
  1718.    usually amounts to  about 80  - 90 KB.  You can  check the  free memory by
  1719.    clicking on  the "About"  button. If  you don't  have  enough, use  the /F
  1720.    switch. The animations will be skipped, and the Sprite Manager will not be
  1721.    invoked. But chances  are you're too  short on  memory to  play some songs
  1722.    anyway.
  1723.  
  1724.                CD-Box returns suddenly to DOS and displays "CRASH"
  1725.  
  1726.  
  1727.        Well, if CD-Box wasn't analyzing a song, you stumbled on a bug. I left
  1728.    all the checking routines on in CD-Box's  code, so that instead of hanging
  1729.    up and forcing you to reboot, it exits to DOS (in most cases).
  1730.        Restart CD-Box  and  try  not to  do  it  again -  if  you  use CD-Box
  1731.    normally, you shouldn't  get any  bug. It's  when you  try to  insist (for
  1732.    example, a .MOD  song might  not play because  of insufficient  memory, so
  1733.    don't try clicking on the song button 10 times  to try to play it anyway),
  1734.    that CD-Box crashes. I, of course, am trying to  get the number of bugs to
  1735.    an absolute minimum (very close to zero).
  1736.  
  1737.               CD-Box crashes and displays "Not enough memory to..."!
  1738.  
  1739.  
  1740.        You have a fatal  memory overflow. You  have to free  more memory; run
  1741.    CD-Box by itself under DOS, not  as a shell from  another program. You can
  1742.    also try typing CD-BOX  /F at the  DOS prompt, and  if you can  get to the
  1743.    main screen, you may be safe... but you may also be too short on memory to
  1744.    play songs anyway.
  1745.  
  1746.                     No music format works with my sound card!
  1747.  
  1748.  
  1749.        I have a SoundBlaster  v1.50 so I'm  sure CD-Box runs  with this card.
  1750.    Above versions should work, as well  as any SoundBlaster compatible card -
  1751.    it runs on the AdLib (.MUS  and .ROL), and net users  report it works with
  1752.    the SoundBlaster Pro (version 1 and 2) and the PAS-16. However, a net user
  1753.    reported it didn't work with his SoundBlaster  v1.05. Maybe the use of CD-
  1754.    BOX.CFG can solve this problem, but nothing is  guaranteed - I have no way
  1755.    to test that.
  1756.  
  1757.  
  1758.  
  1759.    CD-Box v3.03                                                        Page 34
  1760.  
  1761.                           I have trouble with my mouse!
  1762.  
  1763.  
  1764.        YOU SHOULDN'T.  Previous versions  of CD-Box  (up  to v2.02)  did have
  1765.    problem with  furry creatures,  but not  since  v2.10. CD-Box  assumes the
  1766.    mouse is 100% Microsoft compatible (200% compatibility or more preferred).
  1767.    Some workarounds are changing the driver, or even changing the clock speed
  1768.    (turbo or non-turbo speed - weird, huh?).
  1769.        If CD-Box definitely cannot swallow your driver, use the keyboard (see
  1770.    page  21). Use the /M switch to remove mouse  support entirely and not have
  1771.    the mouse pointer wreck the screen.
  1772.  
  1773.                       That darn program doesn't work AT ALL!
  1774.  
  1775.  
  1776.        Read the license if you haven't already done so.
  1777.        I CANNOT GUARANTEE CD-BOX WILL RUN ON YOUR PARTICULAR COMPUTER.
  1778.        Let's be reasonable:  I cannot  guarantee this  program will  work for
  1779.    you. You MUST have a VGA  display and a lot of free  RAM (at least 500 KB,
  1780.    550 KB better; if you don't have 640K conventional memory, forget it - but
  1781.    then who  doesn't these  days?). This  is  the very  minimum configuration
  1782.    under which CD-Box will  run. If you want  to hear the songs,  you need an
  1783.    AdLib Music Synthetizer Card or a  SoundBlaster card (CD-Box does run, but
  1784.    is of absolutely no  use without a music  card). And if you  have a lot of
  1785.    songs, you  need  (a  little) more  memory,  too,  of  course.  CD-Box was
  1786.    developed on a 286 up to v2.11, then on a 386, and net users didn't report
  1787.    any problems with their 486s; a 8086 might be  slow, though. If you have a
  1788.    8086, you should try the /F switch.
  1789.  
  1790.  
  1791.    _______________________
  1792.    2.  Debugging switch /D
  1793.  
  1794.        If CD-Box doesn't play a specific music format, says it cannot explode
  1795.    songs from specific archives, or crashes at startup while analyzing songs,
  1796.    the "first-aid" procedure  is to  type CD-BOX/D.  Chances are  you'll find
  1797.    what's wrong.
  1798.        Okay, let's go. Here is an example of what CD-BOX/D can display:
  1799.  
  1800.  
  1801.  
  1802.    C:\SB\CD-BOX>cd-box /s c:\music\ a: /d
  1803.    CD-Box v3.03 - (C) Copyright Jeffrey Belt, 1993 - All rights reserved
  1804.  
  1805.    CD-BOX.CFG: ok.
  1806.  
  1807.    [I] .CMF driver: SBFMDRV not resident!
  1808.    [E] .IMF player: ok (C:\SB\PLAYIMF.EXE).
  1809.    [E] .MID format: don't know how to play!
  1810.    [I] .MOD format: ok.
  1811.    [D] .MOD format: ok (C:\SB\MP.COM).
  1812.    [E] .MUS player: ok (C:\SB\PLAY.EXE).
  1813.    [E] .ROL player: player not found!
  1814.    [I] .VOC driver: ok (port 0220H, IRQ 7).
  1815.    [I] .WAV driver: ok (port 0220H, IRQ 7).
  1816.    -> available formats: .IMF .MOD .MUS .VOC .WAV
  1817.  
  1818.    .ARC manager: not found.
  1819.    .ARJ manager: ok (C:\COMPRESS\ARJ.EXE).
  1820.    .PAK manager: ok (C:\COMPRESS\PAK.EXE).
  1821.    .ZIP manager: ok (C:\COMPRESS\PKUNZIP.EXE).
  1822.    Temporary drive/directory is: D:\
  1823.  
  1824.    Building file index... done: 25 files found in 7 directories.
  1825.  
  1826.  
  1827.  
  1828.    CD-Box v3.03                                                        Page 35
  1829.  
  1830.    Scanning C:\SB\CD-BOX\VOC\BEACHBYS.ARC\409.VOC... archiver not found!
  1831.    Scanning C:\SB\CD-BOX\VOC\BEACHBYS.ARC\SURFUSA.VOC... archiver not found!
  1832.    Scanning C:\SB\CD-BOX\MOD\BONGO.ZIP\BONGO.MOD... exploding... error 1!
  1833.    Scanning C:\SB\MODEDIT\CREATION.MOD... DUPLICATE, ignored
  1834.    25 song(s) scanned.
  1835.  
  1836.  
  1837.  
  1838.        Don't worry, this  example has  been chosen  because it  contains many
  1839.    error messages. Usually there are much less.
  1840.        Note for starters  that you can  (and should) give  all the parameters
  1841.    you usually use as you run CD-BOX/D.
  1842.        The information  displayed  is divided  in  several  categories, which
  1843.    match exactly the different steps of CD-Box's startup. Let's look at them:
  1844.  
  1845.            1. Loading of the configuration file  CD-BOX.CFG. If this file has
  1846.    errors, messages  and  line  numbers  are  displayed;  these messages  are
  1847.    described in  the  CD-BOX.CFG  chapter.  Otherwise,  if CD-Box  understood
  1848.    everything, "ok" is displayed, as in our example.
  1849.  
  1850.  
  1851.            2. Activation of the music formats.  CD-Box displays the status of
  1852.    each format, with an [I] for internal , [E] for external, and [D] for dual
  1853.    support. If everything is okay for  a format, "ok" is displayed, otherwise
  1854.    one of several  error messages  is displayed.  These messages  are precise
  1855.    enough to enable to quickly find the cause of the error, but are extremely
  1856.    numerous, so I won't explain them all here.  The errors in our example are
  1857.    the more frequent; to solve them, you have to:
  1858.  
  1859.  
  1860.            o  .CMF: load  the  SBFMDRV  driver  before  running  CD-Box  (type
  1861.    SBFMDRV or LOADHIGH SBFMDRV at the DOS prompt).
  1862.  
  1863.  
  1864.            o  .MID: CD-Box has not internal support, and expects  instructions
  1865.    in CD-BOX.CFG. But  it can  find no  command relative  no the  .MID format
  1866.    (there is  no [.MID]  section, or  the Player=  or Parameters=  command is
  1867.    missing), so CD-Box  doesn't know how  to play this  format. The solution:
  1868.    find a .MID player, and insert the appropriate commands in CD-BOX.CFG.
  1869.  
  1870.  
  1871.            o  .ROL: CD-Box couldn't find  the player specified in  CD-BOX.CFG,
  1872.    either because  its name  was misspelled,  or because  it indeed  isn't on
  1873.    disk. Check the spelling of the filename given in the Player= command, and
  1874.    make sure the player is in the PATH, or  in the directory specified in the
  1875.    SOUND environment variable.  Since CD-Box  has internal support  for .ROL,
  1876.    you can remove the [ROL] section from CD-BOX.CFG anyway. Now that you know
  1877.    that, do whatever you want, it's your computer.
  1878.  
  1879.  
  1880.            o  All other formats: no problem. CD-Box also displays a summary of
  1881.    available formats: .IMF .MOD .MUS .VOC .WAV. Two remarks:
  1882.  
  1883.  
  1884.                o  Two messages are displayed for the .MOD format; it's
  1885.                because there  is a  "dual=yes"  command in  the  [MOD]
  1886.                section of  CD-BOX.CFG.  One message  is  for  internal
  1887.                support [I], and the other for dual support [D].
  1888.  
  1889.  
  1890.                o  .IMF is not a format CD-Box supports by default, but
  1891.                it is  treated  as  any other  once  you've  added  the
  1892.  
  1893.  
  1894.  
  1895.    CD-Box v3.03                                                        Page 36
  1896.  
  1897.                appropriate instructions in CD-BOX.CFG. See page 27 for
  1898.                details.
  1899.  
  1900.  
  1901.            3. Activation of the  archive formats. CD-Box does  the same thing
  1902.    for archivers;  if one  is not  found, "not  found"  is displayed.  In our
  1903.    example, if  you don't  use .ARC  archives at  all,  there is  no problem;
  1904.    otherwise, make sure  the archiver is  somewhere on  the PATH.  Or, if you
  1905.    have an  archiver different  than the  one  CD-Box looks  for,  insert the
  1906.    appropriate commands in CD-BOX.CFG.
  1907.  
  1908.  
  1909.            4. File  index  building.  There seldom  are  errors  here, CD-Box
  1910.    displays the total number of files found.
  1911.  
  1912.  
  1913.            5. Song index  building. This is  the "heart" of  CD-Box, so we'll
  1914.    delve into this in detail.
  1915.  
  1916.        The song filenames flash  quickly while they are  scanned. When CD-Box
  1917.    scans an archive,  it opens  it ("Opening"), then  scans the  songs within
  1918.    ("Scanning"). If the song is known,  it is simply stored  in the index and
  1919.    the search goes on.  On the other hand,  if the song is  not known, CD-Box
  1920.    has to analyze it, to extract data like  title, length, and bank file; and
  1921.    this is where errors can  happen. Let's start with  the worst case: CD-Box
  1922.    displays:
  1923.  
  1924.  
  1925.  
  1926.    Scanning C:\SB\CD-BOX\ROL.ARJ\ZULU.ROL... * CRASH! * 100/1351:075A *
  1927.    Possibles causes:
  1928.    - corrupted song (type CD-BOX/D and see if the error repeats itself)
  1929.    - memory overflow
  1930.    Otherwise see "Trouble-shooting" in CD-Box's documentation.
  1931.  
  1932.  
  1933.  
  1934.        The file CD-Box was  analyzing is corrupted. Delete  it! The advantage
  1935.    of CD-BOX/D is  that the  faulty filename  remains on  the screen  (in our
  1936.    case,  ZULU.ROL).  If   the  message  displayed   is:  "Opening  C:\SB\CD-
  1937.    BOX\ROL.ARJ..." for instance,  it's archive  ROL.ARJ's fault.  The command
  1938.    ARJ t  ROL.ARJ would  undoubtedly report  a corrupted  archive. Fix  it or
  1939.    delete it!
  1940.        This case  is the  worst, and  stops  CD-Box completely.  In  the vast
  1941.    majority of cases, CD-Box  displays a warning message,  and goes on. These
  1942.    warnings are:
  1943.  
  1944.                                archiver not found!
  1945.  
  1946.  
  1947.        The song is  stored in  an archive CD-Box  can read,  but not extract,
  1948.    because the archiver is missing. Make sure the archiver is on the PATH, or
  1949.    extract the song, and store it in another type of archive if you want to.
  1950.  
  1951.                                exploding... failed!
  1952.  
  1953.  
  1954.        CD-Box ran an  archiver to  extract a  song, which  terminated without
  1955.    reporting any error, but  CD-Box realized the song  has not been extracted
  1956.    at all. In most case, it's because the archiver got an error (usually disk
  1957.    full, but it might be because  the song is password-encrypted), but didn't
  1958.    report any. Change the value of Temp= in CD-BOX.CFG!
  1959.  
  1960.  
  1961.  
  1962.    CD-Box v3.03                                                        Page 37
  1963.  
  1964.                               exploding... error n!
  1965.  
  1966.  
  1967.        This warning is like the previous one,  but this time the archiver did
  1968.    return an error number  n. Refer to  the documentation of  the archiver to
  1969.    understand the problem.
  1970.  
  1971.                                DUPLICATE, ignored.
  1972.  
  1973.  
  1974.        CD-Box already encountered  this song while  scanning. It  is a simple
  1975.    information message, CD-Box will only remember the first occurrence in any
  1976.    case, but you can remove one of the duplicated from your disk.
  1977.  
  1978.  
  1979.  
  1980.    CD-Box v3.03                                                        Page 38
  1981.  
  1982.    I.  REGISTERING CD-BOX
  1983.  
  1984.  
  1985.  
  1986.                 CD-Box is shareware. The registration fee is $20.
  1987.  
  1988.  
  1989.    ______________________
  1990.    1.  What is shareware?
  1991.  
  1992.        Shareware distribution  gives users  a chance  to try  software before
  1993.    buying it. If you try a  Shareware program and continue  using it, you are
  1994.    expected to register. Individual  programs differ on details  -- CD-Box in
  1995.    particular  specifies   a   maximum   30-day   evaluation   period.   With
  1996.    registration, you get the right to continue using the software and usually
  1997.    something extra  (bound manual,  extra  programs, etc).  With  CD-Box, the
  1998.    registration reminders are  removed, and  you get  the latest  version and
  1999.    extra programs (more on this later).
  2000.        Copyright laws apply  to both  Shareware and commercial  software, and
  2001.    the copyright holder retains all rights, with a few specific exceptions as
  2002.    stated below. Shareware  authors are  accomplished programmers,  just like
  2003.    commercial authors, and the  programs are of comparable  quality. (In both
  2004.    cases, there are good  programs and bad  ones!) The main  difference is in
  2005.    the method of  distribution. The author  specifically grants  the right to
  2006.    copy and  distribute  the software,  either  to  all and  sundry  or  to a
  2007.    specific group.  For  example,  some  authors  require written  permission
  2008.    before a commercial  disk vendor may  copy their Shareware.  The terms for
  2009.    CD-Box are in the VENDOR.DOC file.
  2010.        Shareware is a distribution method, not a type of software. You should
  2011.    find  software  that  suits  your  needs   and  pocketbook,  whether  it's
  2012.    commercial or  Shareware. The  Shareware system  makes fitting  your needs
  2013.    easier, because you can  try before you  buy. And because  the overhead is
  2014.    low, prices are low also. Shareware  has the ultimate money-back guarantee
  2015.    -- if you don't use the product, you don't pay for it.
  2016.  
  2017.  
  2018.    _________________
  2019.    2.  Why register?
  2020.  
  2021.        Because it's the  right thing  to do. You  wouldn't want  to break the
  2022.    law, would you?
  2023.        You are encouraged to  use and copy this  program and give  it to your
  2024.    friends for a 30-day evaluation period.  Once this period has expired, you
  2025.    have to register the program.
  2026.        The registration fee is $20 US dollars. In return, you'll get:
  2027.  
  2028.            o  a registration key and  instructions to remove the  registration
  2029.    reminders using this  key. This  key will  be valid  for all  CD-Box v3.xx
  2030.    versions.
  2031.  
  2032.  
  2033.            o  a diskette containing:
  2034.  
  2035.  
  2036.                o  the latest version of CD-Box (or the next version if
  2037.                it is almost ready to be released). I'm still under the
  2038.                shock of receiving  yesterday a  registration form  for
  2039.                CD-Box v2.11 which I released more than a year ago! For
  2040.                examples of things to come, see the HISTORY.DOC file.
  2041.  
  2042.  
  2043.                o  a menu-driven  SETUP utility  to easily  modify  CD-
  2044.                BOX.CFG (without using a text editor and dirtying  your
  2045.                hands in ASCII).
  2046.  
  2047.  
  2048.  
  2049.    CD-Box v3.03                                                        Page 39
  2050.  
  2051.                o  the full documentation in English and French.
  2052.  
  2053.  
  2054.                o  third-party software that I  find of value to  sound
  2055.                card  owners  in  general,  and  to  CD-Box  users   in
  2056.                particular.
  2057.  
  2058.  
  2059.                o  and as many song files as will fit.
  2060.  
  2061.  
  2062.            o  mail or phone support (see below).
  2063.  
  2064.  
  2065.            o  a six-month "I fix the bugs  or your money back" guarantee  (see
  2066.    below).
  2067.  
  2068.  
  2069.            o  notification by letter of the next major update.
  2070.  
  2071.  
  2072.            o  and, of course,  discounts on future  versions of CD-Box  (v4.00
  2073.    and above) and my other products.
  2074.  
  2075.        I'm also thinking of  printing this manual, and  if I do  print it and
  2076.    you showed interest (see registration form),  I'll notify you, and make it
  2077.    available to you at the rock-bottom price.
  2078.        If some of these  products become unavailable  for distribution, other
  2079.    products which have value to sound card users will be substituted. Some of
  2080.    these products may be shareware and require  you to pay a registration fee
  2081.    after an evaluation period.
  2082.  
  2083.  
  2084.    __________________________
  2085.    3.  How to register CD-Box
  2086.  
  2087.        The  registration  fee   is  $20.  If   for  some   reason  CD-Box  is
  2088.    discontinued, I'll send your money right back with an explanation.
  2089.        US dollars are used for convenience; ANY  currency will do, as long as
  2090.    it amounts  to the  same  sum in  US  dollars; take  bank  commission into
  2091.    account. See the registration screen for examples.
  2092.        To register you, I need either  cash or a check (made  to the order of
  2093.    Jeffrey Belt), and an  order form. Press  F2 within CD-Box  to display the
  2094.    manual, then press R; or type  CD-BOX/O at the DOS  prompt. This will call
  2095.    up the registration screen. Just fill it in and choose your output device:
  2096.    printer (specify the port) or file (INVOICE.TXT).
  2097.        If you don't have a  printer, print the order  form in the INVOICE.TXT
  2098.    file, and print  this file  on a friend's  or neighbour's  printer. Better
  2099.    yet, give him CD-Box to print your order form!
  2100.        If you REALLY  don't have  access to a  printer, write  on a  piece of
  2101.    paper, a postcard, or something else:
  2102.  
  2103.            o  which version of CD-Box you've got (press the "About" button  in
  2104.    CD-Box).
  2105.  
  2106.  
  2107.            o  your first and  last name  (without which  I cannot  give you  a
  2108.    registration key).
  2109.  
  2110.  
  2111.            o  your full mailing address.
  2112.  
  2113.        The rest is optional:
  2114.  
  2115.  
  2116.  
  2117.    CD-Box v3.03                                                        Page 40
  2118.  
  2119.            o  where you got CD-Box (which server, BBS, company...).
  2120.  
  2121.  
  2122.            o  your remarks and suggestions (if any).
  2123.  
  2124.        Send the filled-in order form and payment to:
  2125.  
  2126.                    Jeffrey BELT
  2127.                    2A Crothers Hall
  2128.                    Stanford, CA 94305
  2129.                    U.S.A.
  2130.  
  2131.        My phone number is  (415) 497-5573 in  the United States.  If you have
  2132.    net access, my e-mail address is belt@cs.stanford.edu.
  2133.        All this is  valid until December  15, 1994. Do  NOT send registration
  2134.    forms to  this address  after  this date!  If  you can't  find  an updated
  2135.    version of CD-Box with my new address in it, please either:
  2136.  
  2137.            o  write or call the ASP and they will tell you how to reach me, or
  2138.  
  2139.  
  2140.            o  send a postcard to the following address asking how to reach me:
  2141.  
  2142.  
  2143.                    Jeffrey BELT
  2144.                    7 rue de la Garenne
  2145.                    77240 - CESSON
  2146.                    FRANCE
  2147.  
  2148.  
  2149.  
  2150.    ___________
  2151.    4.  Support
  2152.  
  2153.        If you experience  difficulties with CD-Box,  then write,  call, or e-
  2154.    mail. The same applies to suggestions for improvement. I always answer all
  2155.    the mail I receive, priority being given to registered users for a minimum
  2156.    period of six months after the date of registration. So don't hesitate!
  2157.        New versions of CD-Box  are uploaded on  saffron.inset.com and SIMTEL,
  2158.    and sent to  a growing number  of vendors; update  announcements appear in
  2159.    the Sound  Newsletter  (available on  BBS  and FTP  servers  worldwide and
  2160.    posted in  particular  to comp.sys.ibm.pc.soundcard).  Major  updates will
  2161.    also be sent to the ASP vendors.
  2162.  
  2163.  
  2164.    ____________________
  2165.    5.  Bugs? What bugs?
  2166.  
  2167.        As far as I know, this  program is free of bugs. In  any case, it does
  2168.    not contain any intentional bugs. But  I also know no significant software
  2169.    has ever been produced without bugs lurking  around. If you find any, TELL
  2170.    ME in detail! There's no chance of the bug being corrected if I don't know
  2171.    about it!
  2172.        Bugs will be fixed for free  for six months following registration, if
  2173.    possible. If not, a full refund will be offered.
  2174.        When reporting a bug,  please be as precise  as possible. What version
  2175.    number of CD-Box are you using?  What exactly were you  doing when the bug
  2176.    happened? What are the exact symptoms? I  received in the past bug reports
  2177.    about mice  for CD-Box  v2.02 and  below, like  "my  mouse goes  crazy" or
  2178.    "doesn't work"... how am  I supposed to work  on this?!? It  was by asking
  2179.    for details that I  finally knew "the yellow  mouse seems to  be at double
  2180.    the position of the  white mouse", and "random  colored points are sprayed
  2181.    around the mouse arrow", and so the trouble was fixed.
  2182.        Don't forget  to  include  a full  description  of  your  hardware and
  2183.    software environment so that I can try to duplicate the problem.
  2184.  
  2185.  
  2186.  
  2187.    CD-Box v3.03                                                        Page 41
  2188.  
  2189.    ______________________________________
  2190.    6.  Viruses and similar nasty programs
  2191.  
  2192.        I guarantee that the copies  of CD-Box I send  on diskettes to vendors
  2193.    and distributors are virus-free.  However, bear in mind  the copy you have
  2194.    may have been infected, unwittingly or not,  by someone else. Most, if not
  2195.    all, vendors and  distributors check  again for viruses,  so the  odds are
  2196.    low, but you never know. The  odds get higher as  your source becomes more
  2197.    "doubtful" (i.e., the copy of a friend of a friend of a friend...).
  2198.        CD-BOX.EXE contains  verification  code  to  protect  itself  at  each
  2199.    startup against viral  attacks or hacks.  It does not  protect your system
  2200.    against viruses or other similar programs,  nor does it guarantee for sure
  2201.    CD-Box is not infected.  However, if CD-Box detects  a modification of its
  2202.    code, it will stop and display the following message:
  2203.  
  2204.  
  2205.  
  2206.    This program has been corrupted or modified.
  2207.    Please restore it from a safe backup copy.
  2208.  
  2209.  
  2210.  
  2211.        You must then make a fresh  copy of CD-BOX.EXE from  the original or a
  2212.    safe backup copy.
  2213.  
  2214.  
  2215.  
  2216.    CD-Box v3.03                                                        Page 42
  2217.  
  2218.    J.  GLOSSARY
  2219.  
  2220.  
  2221.  
  2222.        Entries  are  not  in  logical  order,   but  in  alphabetical  order.
  2223.    Inexperienced  users  may  want   to  read  the   "driver",  "player"  and
  2224.    "environment variables" entries first.
  2225.  
  2226.                                      ARCHIVER
  2227.  
  2228.  
  2229.        An archiver is also called archive  manager, compressor, compactor, of
  2230.    files or archives. It is a program able to store in one file (the archive)
  2231.    many different files, shrinking them  so they use less  space on disk; the
  2232.    opposite operation (extraction) is of course possible. The most widespread
  2233.    formats are .ARC, .ARJ, .LZH, .PAK,  .ZIP and .ZOO, and  are common use on
  2234.    file servers (BBS, FTP, and others).
  2235.        Each archiver has its  own commands, so see  the documentation of each
  2236.    to see how to use them.
  2237.  
  2238.                                      BLASTER
  2239.  
  2240.  
  2241.        BLASTER is an  environment variable you  can use to  tell CD-Box where
  2242.    your SoundBlaster card (or compatible) is located. To set it, type:
  2243.  
  2244.  
  2245.  
  2246.    SET BLASTER=Axxx Ix Dx Tx
  2247.  
  2248.  
  2249.  
  2250.        Axxx is  the  port,  usually A220  for  port  220H  (factory default).
  2251.    Possible  values  are  A210,   A220,  A230,  A240,  A250   and  A260  (the
  2252.    SoundBlaster Pro accepts A220 and A240 only).
  2253.        Ix is the  interrupt line  (IRQ), for instance  I3 for  IRQ3. Possible
  2254.    values are I2, I3, I5, I7 and I10.
  2255.        Dx is  the DMA  channel, usually  D1  for DMA  channel 1.  The "plain-
  2256.    vanilla" SoundBlaster  is always  on DMA  1, but  possible values  for the
  2257.    SoundBlaster Pro are D0, D1 and D3.
  2258.        Tx is the card type. T1  is for the SoundBlaster v1.0  and v1.5, T2 is
  2259.    for the SoundBlaster Pro, and T3 is for the SoundBlaster v2.0.
  2260.        I have for  instance a  SoundBlaster v1.5 on  port 220H  and interrupt
  2261.    line IRQ7. My AUTOEXEC.BAT contains the following line:
  2262.  
  2263.  
  2264.  
  2265.    SET BLASTER=A220 I7 T1 D1
  2266.  
  2267.  
  2268.  
  2269.        CD-Box uses the settings provided by  the BLASTER environment variable
  2270.    (port and interrupt only, it  ignores the other two).  If BLASTER does not
  2271.    exist, it will  try to locate  the card by  itself, but may  not be always
  2272.    successful. I highly recommend  the use of BLASTER,  since CD-Box and many
  2273.    other software use this variable.
  2274.  
  2275.                                       DRIVER
  2276.  
  2277.  
  2278.        A driver  is a  program, whether  resident  (SBFMDRV.COM) or  not (CT-
  2279.    VOICE.DRV) that allows the programmer knowing how to "talk" to this driver
  2280.    to  control  something  more  or  less  easily   -  in  the  case  of  the
  2281.  
  2282.  
  2283.  
  2284.    CD-Box v3.03                                                        Page 43
  2285.  
  2286.    SoundBlaster, to play files  without going down too  much into the details
  2287.    of the file formats, memory or the card itself.
  2288.        One driver can  be used by  several programs (for  instance, a printer
  2289.    driver in Windows is  used by all Windows  software so they  don't have to
  2290.    worry about the details of the printer).
  2291.  
  2292.                               ENVIRONMENT VARIABLES
  2293.  
  2294.  
  2295.        DOS enables you to  define variables, or symbols,  and to store values
  2296.    in these variables.  All programs can  afterwards use  these variables you
  2297.    define. The syntax is:
  2298.  
  2299.  
  2300.  
  2301.    SET variable=value
  2302.  
  2303.  
  2304.  
  2305.        Variable must  be a  single word,  with no  space or  other separator.
  2306.    Value, on the other hand, can be a string of (almost) any characters.
  2307.        You can display  all variables  that have  a value  in your  system by
  2308.    typing the SET command with no argument. SET for can instance display:
  2309.  
  2310.  
  2311.  
  2312.    COMSPEC=C:\DOS\COMMAND.COM
  2313.    PROMPT=$p$g
  2314.    PATH=C:\DOS;C:\DOS\UTIL;C:\COMPRESS;C:\CD-MENU;C:\SB;C:\DOS\F-PROT
  2315.    SOUND=C:\SB
  2316.    TEMP=E:
  2317.  
  2318.  
  2319.  
  2320.        (It will look different on your computer.)
  2321.        Four environment variables have a specific meaning for CD-Box:
  2322.  
  2323.            o  BLASTER, to set the SoundBlaster port and IRQ.
  2324.  
  2325.  
  2326.            o  PATH, where to look for archivers and players.
  2327.  
  2328.  
  2329.            o  SOUND, where to look for players,  if they weren't found in  the
  2330.    PATH. The  value  of  SOUND is  normally  a  directory  where SoundBlaster
  2331.    programs are stored (see the user's manual of your sound card).
  2332.  
  2333.  
  2334.            o  TEMP, to know where to move when running the "swap=yes"  command
  2335.    and there  is not  EMS nor  XMS, and  to know  where to  temporarily store
  2336.    extracted files, unless this  command is specified in  the "Temp=" command
  2337.    of CD-BOX.CFG. The value of TEMP should be a drive or directory where many
  2338.    software store their temporary files, preferably a RAM disk.
  2339.  
  2340.  
  2341.                                       FORMAT
  2342.  
  2343.  
  2344.        Computer files  can contain  extremely diverse  data:  text, graphics,
  2345.    sounds, programs, databases...  The idea being  to store data  in a usable
  2346.    form, software usually defines "formats", that is, rules which say exactly
  2347.    how the data is to be stored in files.
  2348.  
  2349.  
  2350.  
  2351.    CD-Box v3.03                                                        Page 44
  2352.  
  2353.        The extension of a file usually gives an indication on its format. You
  2354.    surely know that .BAT, .COM and  .EXE are executable files (programs), and
  2355.    .DOC and .TXT usually is readable text. In CD-Box, .CMF, .MID, .MOD, .MUS,
  2356.    .ROL, .VOC and  .WAV are  music formats (others  exist!), and  .ARC, .ARJ,
  2357.    .PAK and .ZIP are well-known archive formats (others exist too).
  2358.        Each software often defines its own  format, which may (unfortunately)
  2359.    bear the same name of another software's format.  A .MOD file is usually a
  2360.    song file, but Windows, for instance, has  .MOD files that have nothing to
  2361.    do with music.
  2362.        When CD-Box displays "Invalid format", this  means it thought the file
  2363.    contained a song, just by looking  at the extension. But  when it tried to
  2364.    use  this  file  to  play  it,  or  to  extract  the  title,  it  realized
  2365.    informations it expected to find at certain locations in the file were not
  2366.    there. So it displays  "Invalid format" to  denote a file  which seemed to
  2367.    contain a song at first, but which doesn't after all.
  2368.  
  2369.                                        PATH
  2370.  
  2371.  
  2372.        The  PATH  is  an  environment  variable  which  contains  a  list  of
  2373.    directories separated by semicolons.  When you type a  program name at the
  2374.    DOS prompt, the program  is searched in each  of the directories specified
  2375.    in the PATH; if the program is not found, DOS displays "Invalid command or
  2376.    file not found" or something close.
  2377.        To display what's in the PATH, type the PATH command:
  2378.  
  2379.  
  2380.  
  2381.    PATH=C:\DOS;C:\DOS\UTIL;C:\COMPRESS;C:\CD-MENU;C:\SB;C:\DOS\F-PROT
  2382.  
  2383.  
  2384.  
  2385.        (It will look different on your computer.)
  2386.        So, in this  case, if  you type  MEM, DOS  will look  on disk  for the
  2387.    following files: MEM.BAT (or  .COM or .EXE),  C:\DOS\MEM.BAT (same thing),
  2388.    C:\DOS\UTIL\MEM.BAT, C:\COMPRESS\MEM.BAT... as  soon as  one such  file is
  2389.    found, it is run, and the MEM program starts.
  2390.        CD-Box uses the PATH to  look for programs it  may need (archivers and
  2391.    players). If you say in  CD-BOX.CFG that the [ZIP]  format must be handled
  2392.    by the UNZIP.EXE  program, CD-Box  will look  for in  our example  for the
  2393.    following  files:   UNZIP.EXE,   C:\DOS\UNZIP.EXE,  C:\DOS\UTIL\UNZIP.EXE,
  2394.    C:\COMPRESS\UNZIP.EXE...
  2395.        When you type  CD-BOX/D, CD-Box displays  the programs  it found, with
  2396.    the full access path. If, on the  other hand, CD-Box displays "not found",
  2397.    this means your program is not on the PATH,  that is, not in any directory
  2398.    specified in the PATH  environment variable. Put the  program in the PATH,
  2399.    or change the PATH  definition to include the  directory where the missing
  2400.    program is.
  2401.  
  2402.                                       PLAYER
  2403.  
  2404.  
  2405.        A player  is a  program which  is  able to  play songs  in  a specific
  2406.    formats (sometimes in more than one format, but that's rare); a player may
  2407.    need a driver to work.
  2408.        CD-Box is indeed  a player,  a multi-format player  even, but  is much
  2409.    more than  that  (interface, animations,  handling  of  titles...). Better
  2410.    examples include VPLAY, PLAYCMF and ModPlay Pro.
  2411.  
  2412.  
  2413.  
  2414.    CD-Box v3.03                                                        Page 45
  2415.  
  2416.    K.  EXTERNAL DRIVERS AND PLAYERS
  2417.  
  2418.  
  2419.  
  2420.        CD-Box uses  by default  the following  drivers  and players  (you can
  2421.    change this if you modify CD-BOX.CFG, see page 22):
  2422.  
  2423.    Driver .CMF:   SBFMDRV.COM - Creative Labs, Inc.
  2424.                Bundled with the SoundBlaster
  2425.  
  2426.    Player .MID:   FORMER.EXE - comes with HOLYWOOD
  2427.                That's all I know. Give me more info if you have any!
  2428.  
  2429.    Player .MUS:   PLAY.EXE
  2430.                No info on this one - got it from a FTP server which IT got
  2431.                from THE TASTE/MG BBS, 718-252-4529, as ADLIBMUS.ZIP.
  2432.  
  2433.    Driver .ROL:   SOUND.COM - AdLib, Inc. (or next one)
  2434.                Bundled with the AdLib
  2435.  
  2436.    Driver .ROL:   SB-SOUND.COM - Creative Labs, Inc. (or previous one)
  2437.                Almost no info on this one, but like SBFMDRV (and unlike
  2438.                SOUND), can be removed from memory.
  2439.  
  2440.        You can of  course override  CD-Box's internal routines  with external
  2441.    players not  quoted here  (for instance,  play .MODs  with ModPlay  Pro or
  2442.    WOWII, or .ROL with SPUTROL or ROLALARM or INTUNE).
  2443.        FTP addresses:  saffron.inset.com,  nic.funet.fi,  snake.mcs.kent.edu,
  2444.    wmsr.simtel-20.army.mil.
  2445.  
  2446.  
  2447.  
  2448.    CD-Box v3.03                                                        Page 46
  2449.  
  2450.    L.  TECHNICAL NOTES
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.    ___________________
  2457.    1.  A word on files
  2458.  
  2459.        Two files are  necessary for  CD-Box to  run: CD-BOX.EXE  (the program
  2460.    itself, with all its code and graphics), and CD-BOX.CFG (the configuration
  2461.    file). CD-Box  will create  the SONGS.DAT  file  to store  song  names and
  2462.    lengths. If  a  player  crashes,  and  you  specified  "swap=yes"  in  the
  2463.    corresponding section in  CD-BOX.CFG, you may  found on  disk a CD-BOX.TMP
  2464.    file which you can delete.
  2465.  
  2466.  
  2467.    _________________
  2468.    2.  Sound formats
  2469.  
  2470.        .MOD: CD-Box processes only 31-instrument .MODs, and only in mono. I'm
  2471.    working on 16-bit stereo!
  2472.        .ROL: CD-Box expects  SOUND.COM v1.51 or  later. It  uses the extended
  2473.    waveform capabilities of the AdLib v1.51 or later and SoundBlaster v1.5 or
  2474.    later.
  2475.        .VOC: CD-Box processes block IDs 1  (sample), 2 (subsequent sample), 3
  2476.    (silence), 6 (repeat)  and 7 (end  repeat). All other  blocks are skipped.
  2477.    CD-Box sends the data to the  DSP in real time rather  than using the DMA,
  2478.    hence the volume and echo controls.
  2479.        .WAV: CD-Box  makes an  "on-the-fly"  conversion and  sends  the whole
  2480.    thing to the DSP.  Because of outrageous computing  times, it is currently
  2481.    only able to process 8-bit mono samples.  I'm working on the 16-bit stereo
  2482.    version...
  2483.  
  2484.  
  2485.  
  2486.    CD-Box v3.03                                                        Page 47
  2487.  
  2488.    M.  THANKS
  2489.  
  2490.  
  2491.  
  2492.        CD-Box wouldn't be  the program  it is today  without the  help of the
  2493.    following people:
  2494.  
  2495.            o  Programmers: Mark J. Cox (MODOBJ library to play .MODs),  Victor
  2496.    Langeveld (precious help to solve mouse  bugs), Anthony Rumble (sources to
  2497.    play .CMF), Thomas Wagner  (EXEC function to  move CD-Box to  EMS, XMS, or
  2498.    hard disk when an external player is run; used when the "swap=yes" command
  2499.    is used in CD-BOX.CFG).
  2500.  
  2501.  
  2502.            o  Enlightened users, for their  good ideas: Ed Haymore  (temporary
  2503.    drive redirection, and basic idea for Files mode), Bjorn Karlsen (keyboard
  2504.    support on volume  control), Bob  Mandel (a  lot of  helpful advice  and a
  2505.    fascinating handwriting).
  2506.  
  2507.  
  2508.            o  Sympathetic sysops: Dave Komatsu (Sound Newsletter Editor),  and
  2509.    Keith Petersen (sysop of MSDOS archive  on SIMTEL), for having accepted my
  2510.    submission! And many  more thanks  go to Dave  for having  uploaded CD-Box
  2511.    when I was not on the net.
  2512.  
  2513.  
  2514.            o  Crazy about image synthesis:  Stephane Marty (tremendous  French
  2515.    ray-tracing software  SMTRACER  386,  which computed  some  of  the screen
  2516.    graphics).
  2517.  
  2518.  
  2519.            o  The others: Bruno  Deltour (aesthetic  remarks), Alain  Rousseau
  2520.    (has provided me files  from the net  when I wasn't  on it), Jean-Francois
  2521.    Moufle (has driven the car, now much reduced, driving across the screen at
  2522.    odd times)  (yes,  I drew  all  the other  graphics,  and no,  I'm  not an
  2523.    artist!), my sister (for rebuilding my morale when it sank low), my mother
  2524.    (still hasn't  understood how  I could  be  so addicted  to  computers but
  2525.    patiently  endures  it  nevertheless),  and   various  other  friends  and
  2526.    relations for having stumbled  on the thankfully rare  bugs, and for their
  2527.    suggestions and encouragements.
  2528.  
  2529.        And many thanks to the  registered users of CD-Box  which are the ones
  2530.    keeping it going!
  2531.  
  2532.  
  2533.  
  2534.    CD-Box v3.03                                                        Page 48
  2535.  
  2536.    N.  LICENSE & ABSENCE OF WARRANTY
  2537.  
  2538.  
  2539.  
  2540.  
  2541.  
  2542.    ______________
  2543.    1.  Disclaimer
  2544.  
  2545.        Users of CD-Box  must accept this  disclaimer of  warranty: "CD-Box is
  2546.    supplied as is. The author disclaims all warranties, expressed or implied,
  2547.    including, without limitation,  the warranties  of merchantability  and of
  2548.    fitness for  any purpose.  The author  assumes  no liability  for damages,
  2549.    direct or consequential, which may result from the use of CD-Box."
  2550.        This statement and the  licence agreements below shall  be governed by
  2551.    the laws  of France.  Any action  or  proceeding brought  by  either party
  2552.    against the other  arising out of  or related  to this  agreement shall be
  2553.    brought only  in  a  court of  competent  jurisdiction  located  in Paris,
  2554.    France.
  2555.  
  2556.  
  2557.    _____________________
  2558.    2.  Trial use license
  2559.  
  2560.        The word "software"  below refers to  the freely  available version of
  2561.    CD-Box, and in particular  the three files CD-BOX.EXE,  CD-BOX.CFG and CD-
  2562.    BOX.DOC.
  2563.        You are encouraged to use this software for 30 days prior to obtaining
  2564.    a permanent license. You may copy this software as many times as you like,
  2565.    give it to anyone,  and distribute it via  electronic means. This software
  2566.    may also be distributed  in shareware and/or public  domain libraries that
  2567.    charge for copying and distributing disks, NOT for the software itself.
  2568.        You may NOT charge or request a donation  for a copy of this software,
  2569.    however made; and you may NOT distribute this program and/or documentation
  2570.    with commercial products without written permission from the author.
  2571.        THIS SOFTWARE  MAY  NOT  BE  GIVEN  AWAY  OR  DISTRIBUTED  WITHOUT ITS
  2572.    DOCUMENTATION; AND NEITHER PROGRAM NOR DOCUMENTATION MAY BE ALTERED IN ANY
  2573.    WAY.
  2574.        Users of  CD-Box must  register and  pay  for their  copies  of CD-Box
  2575.    within 30  days of  first  use or  their  license is  withdrawn.  Once the
  2576.    registration payment is made, the permanent license applies.
  2577.        If you do not agree to this  license, delete CD-Box from your computer
  2578.    and don't send any money.
  2579.  
  2580.    _____________
  2581.    What it means
  2582.  
  2583.        CD-Box is a "shareware  program" and is provided  at no charge (except
  2584.    shipping charge in some  cases) to the  user for evaluation.  Feel free to
  2585.    share it with your friends, but  please do not give it  away altered or as
  2586.    part of  another  system  (don't give  just  the  program,  give  also the
  2587.    documentation and  extra  files;  if  you  modified  CD-BOX.CFG  for  your
  2588.    personal use,  take  care not  to  distribute the  modified  version). The
  2589.    essence of "user-supported" software is to provide personal computer users
  2590.    with quality software  without high prices,  and yet  to provide incentive
  2591.    for programmers  to continue  to develop  new products.  If you  find this
  2592.    program useful and find that you are using  CD-Box and continue to use CD-
  2593.    Box after the 30-day trial period, you must pay the registration fee.
  2594.  
  2595.  
  2596.    _____________________
  2597.    3.  Permanent license
  2598.  
  2599.        The word "software"  below applies to  the registration  key and extra
  2600.    utility programs clearly  marked as  "This program is  part of  the CD-Box
  2601.    registration disk" on  the disk  received when registering  (in particular
  2602.  
  2603.  
  2604.  
  2605.    CD-Box v3.03                                                        Page 49
  2606.  
  2607.    SETUP.EXE). Other third-party programs  on this disk are  covered by their
  2608.    own licenses.
  2609.        The $20 registration  fee will  license one  copy for  use on  any one
  2610.    computer at any one time. You  must treat this software  just like a book.
  2611.    An example is that this software  may be used by any  number of people and
  2612.    may be freely  moved from  one computer  location to  another, so  long as
  2613.    there is no possibility of it being used  at one location while it's being
  2614.    used at another. Just as a book cannot be read by two different persons at
  2615.    the same time.
  2616.        By ordering a license, you acknowledge  that the registration key is a
  2617.    trade secret and agree to protect it as such.
  2618.        This license is not transferrable and may not be modified.
  2619.  
  2620.  
  2621.  
  2622.    CD-Box v3.03                                                        Page 50
  2623.  
  2624.        AdLib Music  Synthetizer  Card is  a  trademark of  AdLib,  Inc. Also,
  2625.    SOUND.COM is copyrighted by AdLib, Inc.
  2626.        SoundBlaster is a trademark  of Creative Labs,  Inc. Also, SBFMDRV.COM
  2627.    is copyrighted by Creative Labs, Inc.
  2628.        ARCE Copyright (c) Vernon D. Buerg.
  2629.        ARJ Copyright (c) Robert K Jung.
  2630.        LZEXE Copyright (c) Fabrice Bellard.
  2631.        PAK Copyright (c) NoGate Consulting.
  2632.        PKUNZIP Copyright (c) PKWARE Inc.
  2633.        Other trademarks and products mentioned in  this documentation are the
  2634.    property of their respective owners.
  2635.  
  2636.        The software and documentation are:
  2637.        (C) Copyright Jeffrey Belt 1993.
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.                                    CD-BOX V3.03
  2645.                                   REFERENCE CARD
  2646.  
  2647.  
  2648.    _____________________________
  2649.    All modes except Playing mode
  2650.  
  2651.    Help:                   F1, H or ?
  2652.    Manual:                 F2
  2653.  
  2654.    ___________
  2655.    Select mode
  2656.  
  2657.    Rewind:                 PgUp, left or up arrow, or Backspace
  2658.    Forward:                PgDn, right or down arrow, or Enter
  2659.    Other buttons: Play (P), Loop(L), Random(R), Eject(E).
  2660.  
  2661.    ____________
  2662.    Playing mode
  2663.  
  2664.    Stop:                   Esc (even if the button is not displayed)
  2665.    .MOD volume:            Ctrl A (minimum) to Ctrl L (maximum)
  2666.    Forward, Echo+:         Ctrl-right arrow
  2667.    Backwards, Echo-:       Ctrl-left arrow
  2668.    Other buttons: Skip (S), Pause (P), Again (A), Rem (R), Total (T).
  2669.  
  2670.    ___________
  2671.    Modify mode
  2672.  
  2673.    Rewind, Forward:        same as above
  2674.    About:                  A or ?
  2675.    Other buttons: File (F), Bank (B), Title (T).
  2676.  
  2677.    __________
  2678.    Files mode
  2679.  
  2680.    Rewind, Forward:        same as above
  2681.    Rescan:                 R, Alt F or Esc
  2682.  
  2683.    _____
  2684.    Songs
  2685.  
  2686.    1 to 8 (1 to 4 in the first column, 5 to 8 in the second).
  2687.  
  2688.    ___________
  2689.    Mode select
  2690.  
  2691.    Press Alt and the first letter of the mode (ex: Alt F for Files).
  2692.  
  2693.